- NSIS Discussion
- makensis under linux
Archive: makensis under linux
quape
9th January 2004 15:58 UTC
makensis under linux
Hi all,
I want to create nsis installation programs automatically by a batch script. This shall be done on a linux machine, there is no possibility to use a win32 system.
Since I only have to run MakeNSIS and nothing else: Is there a linux version available for this tool?
If not: I really would like to use NSIS but has anyone suggestions which other software can solve my problem?
Best regards
Quape
Joost Verburg
9th January 2004 16:07 UTC
The easist solution would be using WINE.
Creating a Linux port of the compiler is also possible, but you will be some things you have to change.
Comm@nder21
9th January 2004 16:08 UTC
1. no, nsis doesnt run under linux, because it's an installer-engine, using the wqindows-api. and there's no linux-version.
2. no, i don't know any other solution, but i must say, that i don't know any commercial installer, that don't create lot's of overhead in the installer-exe, wastes memory at install-time and creates lots of waste at the users system (registry, etc.)
quape
9th January 2004 16:13 UTC
Originally posted by Comm@nder21
1. no, nsis doesnt run under linux, because it's an installer-engine, using the wqindows-api. and there's no linux-version.
I know. And I don't want to run NSIS but just MakeNSIS. It's only a packager, can't be so difficult to make that working.
Best regards
Quape
Joost Verburg
9th January 2004 19:14 UTC
Comm@nder21: You didn't understand the question, it's about creating win32 installers on Linux.
It's definately possible. MakeNSIS should run fine using the WINE emulator.
Previous NSIS 1 compilers have been ported to Linux. There is some code that should be changed, but it should not be that difficult to create a NSIS 2 compiler for Linux.
Comm@nder21
9th January 2004 22:08 UTC
yes, i understood the question.
but i thougt, that nsis requires some windows-funcitons on compile-time.
but u'll have to know, u wrote it ...
i'm sorry for writing this shit.
Joost Verburg
9th January 2004 22:49 UTC
Yes, there are probably a few things that have to be changed to port it to Linux, but not that many.
jBabel
10th January 2004 05:27 UTC
For the record, we had the same requirements, and I tried NSIS with the latest wine rpm (from wine's sourceforge) on redhat 9. I Copied my NSIS folder on the linux box, and it ran flawlessly on the first try.
There are some gotchas because of the different filesystems, but running makensis from the script's directory should get around most of them.
Yathosho
10th January 2004 11:51 UTC
i was wondering about something similiar for osx. it doesnt even need to be a compiler, but something that checks the syntax of the code. i'd love to code nsis on my laptop when lying in bed :p
quape
12th January 2004 13:35 UTC
I tried Wine and that worked without problems. Yes, GREAT! I can now create NSIS installer executables by just running "wine /c/programs/NSIS/makensis.exe file.nsi" (or similar)
Maybe a linux version of makensis would be nice to have in the future but it's not much important for me now.
So, my problem is solved, thanks guys!
Best regards
quape