|
|
#1 |
|
Junior Member
Join Date: May 2007
Posts: 14
|
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? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
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? NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2007
Posts: 14
|
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.
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: May 2007
Posts: 14
|
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 |
|
|
|
|
|
#5 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,896
|
Nice, chances for 32 bits?
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4. |
|
|
|
|
|
#6 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
You probably forgot to build and install the plug-ins. Extract the pre-built ZIP as instruction in Appendix G.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|