Skip to content
⌘ NSIS Forum Archive

NSIS Plug-in versus C/C++ DLLs

4 posts

Guglielmo#

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
Joel#
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.