Hiya
As previously mentioned, I'm using PAR to build installer packages
containing perl (and other gubbins) that complie to a single .exe and
install on Windows.
I have a couple of problems:
1) How do I make pp recognise more than one directory?
E.g.:
I want to have:
Scripts/main.pl
Data/test1.exe
Data/test2.exe
And be able to extract them from individual folders, however, whatever I
do with PP, I only seem to be able to put things into the scripts/
directory..
2) How do I do par within par
I have a package (a) that depends on another package (b) being
installed. When you install a, it checks if b is installed, and runs b's
install program (itself a pp'd .exe) which is contained in itself..
This doesn't work, the exact error I get being:
C:\rsync-installer.exe: creation of
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp#par_priv.3388.tmp\perl58.dll failed -
aborting with 13.
I'm saying:
If (system("C:\\rsync-installer.exe -i") != 0) {
die "Couldn't install rsync package!";
}
However if I run c:\\rsync-installer.exe -I then it does the correct
thing..
What I'd really like to be able to do, is have my current build.sh
script (which just calls pp) generate a .par archive which doesn't have
any perl magic in (just the scripts / data etc) for (b) that I could
include in (a) and the then execute b's scripts\main.pl if I wanted to
install b..
Does this make sense / can anyone help?
I'm sure that what I'm trying to do is quite easy and I'm just missing
something.
Thanks in advance for the help
Tomas Doran
--
Eight Networks - The world's best network
Telephone: 0845 456 9889