On July 13, 2011 08:23:13 am Harry van der Wolf wrote:
> It's a long time ago I worked with windows installers like InnoSetup and
> the like but isn't is possible to either:
> - Make a simple screen in the installer describing the requisites (and hope
> people read it).

It has been a long time for me as well, but I can tell you that the above 
won't work because the problem happens long after the installer has finished 
successful installation.  The disappearing DLLs were often due to overzealous 
users and virus scanners "cleaning" the system; or subsequently used 
installers for other software that would overwrite and/or introduce 
conflicting DLLs / path definitions, etc.

Plus: don't count on the user remembering the describe requisites when the 
problems surface months later.


> - Build a opengl and python check into the installer.

This is a more promising approach, although the right place for the checker is 
not the installer, but the startup of Hugin itself as you mention below.


> And last, maybe for all platforms: build a startup code in Hugin that
> checks, per platform, for external requirements like is now done for
> enblend, cpfind and the like.

Attached is a wrapper Perl file written by Kornel Benko about half a year ago 
that could be expanded.

Late last year we started to see reports from 'buntu users of Hugin 
segfaulting at startup.  Looking into it we determined that the problem was 
the opengl driver installed in the system.  Something along the attached 
wrapper can be used to catch the problem before it occurs and notify the user 
of what need to be done to fix it.

Yuv

Attachment: hugin.pl
Description: Perl program

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to