I am evaluating PerlApp and have gotten most of the GUIs to work. However, I am trying out the PerlMSI to see if I can create a MSI package and I keep getting error messages.
I have installed Perl on my D: drive. I can run Perl scripts just fine. But I keep getting error messages about not having the PerlMSI Install.pm and/or Util.pm files in the @INC list.
Here is the message I get:
You don't seem to have the PerlMSI library in your @INC path. Please
add it either to the PERL5LIB environment variable, or specify it with
the perl -I commandline option. The default installation directory
for PerlMSI is something like:
C:\Program Files\ActiveState Perl Dev Kit 7.0\lib
BEGIN failed--compilation aborted at ScriptGenerator.pl line 20.
Compilation failed in require at D:\Program Files\ActiveState Perl Dev Kit 7.1\Samples\PerlMSI\Install_Wizard\msiwiz.pl line 3.
I have played with the "use lib" option in the ScriptGenerator.pl script in the Samples\PerlMSI\Install_Wizard directory. But despite my efforts I can't get it to build an executable output.
Note that, even though I have gotten it to generate the script to go to the OUTPUT directory, I can't run the output because it also has an @INC error.
Any suggestions will be appreciated.
I used the
use lib "$PATH_TO_PDK7.2/lib"
to define the path to msi, as TomKane and am now getting errors.
Can someone post how they successfully used this PDK7.2 Perl MSI sample on XP win32, either with PERL5LIB or "use lib"?