Using the System plugin on Linux
I've just installed the NSIS Debian package, and now have NSIS v2.33-1 installed on my Ubuntu box. I have /usr/share/nsis/Plugins/System.dll, and the file is readable. makensis works on a simple .nsi script.
Some of my scripts use the System plugin. For example:
System::Call "kernel32::GetCurrentDirectory(i ${NSIS_MAX_STRLEN}, t .r0)"
I have added:
!addplugindir /usr/share/nsis/Plugins
to my .nsi script, in case that is required.
When I compile, I get:
Invalid command: System::Call
I'm also unable to use System::Get
The documentation for the System plug-in notes "The most useful System plug-in functions (Call, Get and Debug) are not available when compiling with GCC. To work around this, either download a MSVC-compiled version or write your own plugin that calls the functions you need."
I'm not clear how that affects me. I'm not compiling using gcc but rather using makensis which was (presumably) compiled with gcc.
* Is this something structural with the Linux port of NSIS?
* Should I be able to use the System plug-in, when compiling my .nsi script under Linux?
* If so, any ideas what I might be doing wrong?