Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st March 2008, 18:02   #1
badger101101
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?
badger101101 is offline   Reply With Quote
Old 21st March 2008, 18:58   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 21st March 2008, 19:44   #3
badger101101
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.
Attached Files
File Type: txt diff.txt (7.1 KB, 169 views)
badger101101 is offline   Reply With Quote
Old 21st March 2008, 21:54   #4
badger101101
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
badger101101 is offline   Reply With Quote
Old 21st March 2008, 22:04   #5
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
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.
Joel is offline   Reply With Quote
Old 21st March 2008, 22:48   #6
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump