chinman has asked for the wisdom of the Perl Monks concerning the following question:


I have a question concerning using PerlApp with the -x option on Win32. I would like to exclude the Perl56.DLL from the executable, since I have several scripts to package up as separate executables, and including the DLL makes for a big-ass file. If I use the -x option I know I will have to have the Perl56.DLL on the target machine. My question is, will I need to register that DLL or can I just place it in the same directory as the executable.

Regards, chinman.

Replies are listed 'Best First'.
Re: PerlApp -x option
by gav^ (Curate) on Jan 23, 2002 at 20:12 UTC

    Nope, just make sure it is somewhere in the path (I prefer the windows\system32 dir to keep things tidy).

    You will probably need to add a -a=config as an option to make sure that is included, or you need to distribute it with your script. I consider this broken behaviour but Activestate don't agree with me :)

    A great (and free) installer that might come in handy is NSIS. I use this to package my scripts to send to clients.

    Hope this helps...



      Cool, thanks for the info! I checked out the NSIS installer, too. I definitely think I can use that as well.