I was supposed to create a Windows installer recently, but I just hate using Windows. NSIS was the chosen installer creator. I was lucky to be able to compile the NSIS installer on Linux.
The installer just ran without any glitches on wine. So testing the installer as not an issue as well.
Let me guide you through installing NSIS on Linux and how to use it on Linux.
- Download both the release and the source of x.xx.
- Extract both into one parent parent directory
- Change to the source directory
- Compile makensis using scon
- Copy makensis to the release
- Change to the <parent>
- Install – Copy makensis to the install location
- Create the link from the bin directory to the makensis such that
makensis is accessible from the command line.
$ cd nsis-x.xx-src
$ scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all
$ cp build/release/makensis/makensis ../nsis-x.xx/makensis
$ cd ..
$ sudo cp -r nsis-x.xx/* /usr/local/share/nsis/
$ sudo link /usr/local/share/nsis/makensis /usr/bin/makensis