Old 25th May 2014, 13:28   #1
Junior Member
Join Date: May 2014
Posts: 1
Linux created installer does nothing


We are migrating our NSIS based installer (2.46) to linux. Besides from a few char encoding issues, which have been resolved, we are able to successfully compile the installer.

However, when the compiled exe is run on a Windows environment, the process launches and then directly aborts (no GUI is visible, but for a few seconds the process can be seen in the task manager).

I've tried adding messageboxes on the .onInit and Main.OnErrorInstallation functions, just to see if I'm even getting past the initialization, but they are not popping up.

Red Hat 4.8.2-7 ; GCC 4.8.2 ; python 2.6.9

Edit #1
When I copy the files back to a windows machine, and compile (after changing paths back to windows format) the exe works.
gila.qtrax is offline   Reply With Quote
Old 25th May 2014, 20:06   #2
Join Date: Sep 2003
Posts: 27,873
maybe starting point would be to check the dependencies reported for the Linux built version with dependency walker incase it needs something that is not present (is the most obvious thing I can think off if the process appears tovtty to start).
DrO is offline   Reply With Quote
Old 26th May 2014, 10:09   #3
Major Dude
JasonFriday13's Avatar
Join Date: May 2005
Location: New Zealand
Posts: 916
I'll do some testing and see if I can replicate your problem. I haven't used 2.46 on linux yet, though I did help fix the linux build for NSIS 3.

[edit] The 2.46 build doesn't work on my 64 bit version of ubuntu (even the package from the ubuntu repository doesn't work), so I'm not going to be much help.

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 26th May 2014, 18:49   #4
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,451
Have you tried lzma or bzip?

Could you upload a broken version of a compiled example1.nsi?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Go Back   Winamp & Shoutcast 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