|Think about Loose Coupling|
Perl, Wx, DBI and PAR on Win32 - deployment problems?by lukeyboy1 (Beadle)
|on Feb 24, 2006 at 14:18 UTC||Need Help??|
lukeyboy1 has asked for the
wisdom of the Perl Monks concerning the following question:
Good afternoon, wise monks. An interesting problem for you - and I don't see any mention of it on the site.
I've an application that looks a bit like this:
#!/c:/perl/bin/perl use strict; use DBI; use Wx; use myClass; ...blah....Anyway, It all just works perfectly, when I both run and it build an exe with pp on my machine. This is, of course, the case, since I've lots of perl specific stuff on my machine, and all the paths are set up correctly (etc.)
I'm using the following to build it:
pp -M Wx -M DBI -M myClass -B -o gui.exe foo.pl
I'm also packaging lots of DLLs, and installing them in C:/Winnt/system32 with it, in order to satisfy any requirements, these are:
wxmsw26_stc_gcc_custom.dll wxmsw26_media_gcc_custom.dll wxmsw26_html_gcc_custom.dll wxmsw26_gl_gcc_custom.dll wxmsw26_core_gcc_custom.dll wxmsw26_adv_gcc_custom.dll wxbase26_gcc_custom.dll mingwm10.dll perl58.dll
The main problem is that it just doesn't work on other win32 machines when I deploy it(*). I just can't think of other things I need to do, and I was wondering if the monks had any pearls of wisdom to pass on to me?
(*) I'm using the Nullsoft installer to build a proper installer for the application, for the avoidance of doubt!