[Dev] hardhat cygwin windows executable question

Mike Taylor bear at code-bear.com
Tue Feb 22 22:05:02 PST 2005


Ok, for the few remaining people that haven't just deleted this message  
purely from the subject line ...

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.osafoundation.org/pipermail/chandler-dev/attachments/20050223/c0a3ca56/PGP.pgp


More information about the Dev mailing list