Archive: adding dirs to plugins directory


adding dirs to plugins directory
Hello,

I use the GetVersion.dll which still is not a standard plugin dll. Hence, it is not included in the standard
Plugins directory of my NSIS installation.

That means, if I want to use this, I can do two things:

1) Use "CallInstDLL my_plugins_dir\GetVersion.dll WindowsName" in the code. In this case, only during the
execution of the script, the dll is loaded. This means that the dll file should always be there while installing.

or

2) Copy GetVersion.dll into the installation "NSIS\Plugins" directory. This is better, because the dll is loaded during compilation already. Still, I would prefer no touching the contents of the NSIS directories.

Isn´t there a way to indicate to the compiler that he has to add getVersion.dll to the plugins he loads during compilation?

Best regards,

Machiel


maybe !AddPluginsDir can help you


I don´t find that function anywhere.
Is it some new feature? I have got NSIS version 2.3


!addplugindir is as old as nsis itself is,

http://nsis.sourceforge.net/Docs/Chapter5.html#5.1.3


The section on Plug-in DLLS (4.11) would really be improved with a mention of this.

Thanks for the tip- :)

Baker