saschagottfried
7th September 2006 12:47 UTC
How to support usage of system.dll plug-in when building on Linux machines?
I am using NSIS for building Windows Installers on Linux machines. Actually I am learning it on a Windows machine.
Today I read information about Linux Installation/Building on Posix and spotted this in NSIS Help-Appendix G.3:
Quote:
Currently, the System plug-in can't be built using a cross-compiler, but only with MSVC.
Problem:
I am using the powerful system.dll plug-in to call an external DLL. I need to pass parameters to that call as well.
my code:
;new syntax for system.dll plug-in
System::Call '$2::Prompt(t r1, t r3, t .r4) i .r5'
My question: What is the most up-to-date way to solve this problem or just a workaround. Best would be another DLL call method??? My search in Forum led not to many answers. Please provide link to thread or to NSIS-Wiki.
Thanks in advance...
Comm@nder21
7th September 2006 16:10 UTC
there is no problem.
you can build any installer on posix.
you just can't build the system.dll from source itself!
saschagottfried
7th September 2006 16:24 UTC
Thanks you very much. This is very important for my plans with NSIS.
alonbl
26th December 2006 17:53 UTC
Will you consider support System plugin under cross compile?
It is very important so that we can create a compete package under linux.
Maybe a new MiniSystem plugin can be created, that does not have all the features of System plugins, but can be crossed compiled?
Thanks!
kichik
26th December 2006 18:06 UTC
It's not a simple task at all. Creating a minimal version without the problematic parts won't help, because those are the essential parts. See pabs' work for details.
To create a complete package under linux, simply download the zip version to complete it.
alonbl
26th December 2006 18:12 UTC
Thanks for the reference, I did not find it.
Maybe I will be able to help.