jenolan1701
8th October 2004 07:10 UTC
Build an NSIS package in Linux/Web
I have looked at the various posts about compiling NSIS under linux but I do not know whether that is what I am after.
What I would like to do is have an NSIS script on my linux web machine, I build some files with php that the user needs and I want to use NSIS to build an exe for them to download and run.
Anyway I can do this?
Thanks .. Larry
kichik
10th October 2004 15:12 UTC
You can generate the NSIS script using PHP and then pass it on to makensis. Once makensis finishes, you can let the user download the installer.
jenolan1701
10th October 2004 21:36 UTC
Yup .. that's what I want to do .. but how do I get a linux makensis? Might seem like a dumbo question but all the trolling in the forum about it doesn't seem to have a 'build in linux' flavour.
Naturally you are going to show me the error of my ways :D
Thanks!! .. Larry
jenolan1701
10th October 2004 21:53 UTC
Thanks .. I have an older manual printed off. Will see if I can compile it on the server (that should be fun!).
Cheers .. Larry
kichik
10th October 2004 21:55 UTC
That's the manual for the latest CVS version. But that specific part hasn't changed since 2.01.
jenolan1701
31st October 2004 03:52 UTC
Well I'm back ;-) .. have managed to have nsis running, even now compiling and exe from php butt you knew that was coming!
The problem I am having now is that if the nsi file is not in the current directory and I specify a file name thusly;
nsis /home/sample/build.nsi
the script name is taken as an option, I went to change the command parser so that it would be an ifdef to have '/' for windows and '-' for unix but the command arguments are scattered all over.
The question is would you like me to define an option variable which is then set to either '/' or '-' depending on the OS and mod the command line processing to use this or have you already planned it?
Cheers .. Larry
kichik
2nd November 2004 17:34 UTC
There's already a patch that does this:
http://sourceforge.net/tracker/index...49&atid=373087
jenolan1701
2nd November 2004 19:55 UTC
You are the font of all wisdom .. will grab!