badger101101
21st March 2008 19:02 UTC
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?
kichik
21st March 2008 19:58 UTC
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?
badger101101
21st March 2008 20:44 UTC
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.
badger101101
21st March 2008 22:54 UTC
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
Joel
21st March 2008 23:04 UTC
Nice, chances for 32 bits?
kichik
21st March 2008 23:48 UTC
You probably forgot to build and install the plug-ins. Extract the pre-built ZIP as instruction in Appendix G.