I'm in the final stages of testing the auto-generate of the windows installer and I've hit a snag.
If I run "python ../hardhat/hardhat.py -D bar" from a dos prompt, it generates the installer just fine - the command it ran to do that shows up in hardhat.log looking like:
[ HardHat ]: Building Setup.exe
Executing: 'c:\\bin\\NSIS\\makensis.exe' 'makensis.exe' 'C: \\cygwin\\home\\mike\\osaf\\test\\internal\\installers\\win\\chandler.ns i'
Current directory: C:\cygwin\home\mike\osaf\test
looks good so far, but if I run it from cygwin, makensis.exe fails to "see" the chandler.nsi file - the output looks like this in hardhat.log:
[ HardHat ]: Building Setup.exe
Executing: '/cygdrive/c/bin/NSIS/makensis.exe' 'makensis.exe' '/home/mike/osaf/test/internal/installers/win/chandler.nsi'
Current directory: /home/mike/osaf/test
now running makensis.exe from the cygwin prompt manually lead me to find that:
makensis.exe ../internal/installers/win/chandler.nsi
works like a charm.
So I then put in a check for cygwin, and if found, passed the parameter of "../internal/installers/win/chandler.nsi" to the executeCommand() call but that did not work!
So the question is basically what am I missing :) It's late for me so I have stopped here before I start going down all kinds of weird paths.
--- Bear http://code-bear.com PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29
PGP.sig
Description: This is a digitally signed message part_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "Dev" mailing list http://lists.osafoundation.org/mailman/listinfo/dev
