When compiling an NSIS script, whenever I invoke registry (or time) macros contained in the Registry.nsh and Time.nsh plugins, I get an error.
The command I run is something like:
${registry::Open} "[fullpath]" "[Options]" $var
And the error I get is:
Plugin not found, cannot call registry::_Open
Does anybody know what I'm missing?
Edit: Using NSIS 3.0b2
NSIS plugin installationdll" files must be put into the "NSIS\Plugins[\platform]" subfolder and the ". nsh" file into the "NSIS\Include" subfolder. NSIS v2 only supports ANSI plug-ins and they are stored in "NSIS\Plugins". NSIS v3 supports multiple targets and plugins are stored in subfolders under "NSIS\Plugins\".
From NSIS Wiki The NSISList plugin allows you to create, manage and manipulate several independent lists/maps in your NSIS installer.
You need to put the plugin .dll in the correct subdirectory. For NSIS v2.x this is in ...\NSIS\Plugins
and for NSIS v3.x it is ...\NSIS\Plugins\x86-ansi
for ANSI plugins and ...\NSIS\Plugins\x86-unicode
for Unicode plugins.
You can also store plugins in other folders and use !addplugindir
if you have multiple NSIS installations...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With