Archive: NSIS Plug-in versus C/C++ DLLs


NSIS Plug-in versus C/C++ DLLs
Hi,

I'm writing some C/C++ code to extend the functionality of my installer and I'm undecided if I should write the code as NSIS plug-in or as a simple DLL. Can someone help me understanding the pro and cons of using an NSIS plug-in versus a normal C/C++ DLL? Right now, the only difference I see is that a plug-in is automatically loaded by NSIS and I don't need to extract it, while a DLL needs to be extracted.
Are other differences?

Thanks!

Guglielmo


You also get access to NSIS internals and can easily pass parameters on the stack.


Thanks kichik,

Can you give me an example of NSIS internals?


In my low experience, It's better to use the plugin, because you'll need to call the system plugin and later your plugin.

With your plugin well be more easier to handle the input, although, the system plugin supports struct and pointers...handy and some circumstances.