Archive: makensis on Linux - limited support?


makensis on Linux - limited support?
I have compiled NSIS 2.35 on 64-bit Linux, which required slight modification of the source code (I was careful to not adversely affect byte alignment - I can submit a patch if you're interested). I am now working to create my installer but it seems that Linux builds of NSIS merely support basic installer functions - no support for things like "installoptions".

Is this the case?


It supports almost everything under Linux, including InstallOptions and nsDialogs. Only the System plug-in and some font related features are disabled.

What changes to the source code did you add?


Here's a diff of the source tree. The primary problem is the fact that a DWORD is still only 4 bytes on 64-bit Linux. You may need some conditional logic in Platform.h where ULONG_PTR is defined.


I'm glad to hear InstallOptions is supported. I am getting this error:

!insertmacro: MUI_INSTALLOPTIONS_DISPLAY
Invalid command: InstallOptions::dialog
Error in macro INSTALLOPTIONS_DISPLAY on macroline 4
Error in macro MUI_INSTALLOPTIONS_DISPLAY on macroline 5


Nice, chances for 32 bits?


You probably forgot to build and install the plug-ins. Extract the pre-built ZIP as instruction in Appendix G.