Archive: makensis under linux


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


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.


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.)


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

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.


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.


Yes, there are probably a few things that have to be changed to port it to Linux, but not that many.


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.


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


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