Archive: Example of building application with NSIS on Linux or Unix


Example of building application with NSIS on Linux or Unix
Hello,
I have successfully used NSIS to build an installer on Windows, and it works well. However, we need the building of the installer to be performed on a linux box.

Has anyone managed to do this ?
If so, could you please post your example back to this thread ? Also any issues ? Other important info ?

appreciated,
Geoff


Which Linux distribution are you using? If it is Debian (or Ubuntu), apt-get install nsis, then run makensis foo.nsi

There are plenty of people able to do this, some have posted in the forums, please do a search.


Yes, it is possible. I've tested the followin POSIX systems:
FreeBSD 4.11+compiler upgrade, FreeBSD 5,6 Linux in various modern versions e.g. SUSE 9.3. An Win32 installer build on OSX on ProwerPC is still a little troublesome, but will be improved soon.

Make sure: Grab the latest NSIS nighly build and do NOT use NSIS 2.03 of lower. Best is v2.16 or higher.

Make also sure you have the CORRECT minimal Scons version on your Linux build machine!

See screenshot of NSIS build installer for Win32 on SUSE Linux v9.3.


There is a patch to support building with an older scons in the debian package. I'll make up a patch file for people to download. Perhaps it can be added to the next release (and SVN) as a file that people can apply if needed.