找不到NSIS注册表插件

her*_*ics 4 registry nsis

编译NSIS脚本时,每当我调用Registry.nsh和Time.nsh插件中包含的注册表(或时间)宏时,都会出现错误。

我运行的命令类似于:

${registry::Open} "[fullpath]" "[Options]" $var
Run Code Online (Sandbox Code Playgroud)

我得到的错误是:

Plugin not found, cannot call registry::_Open
Run Code Online (Sandbox Code Playgroud)

有人知道我在想什么吗?

编辑:使用NSIS 3.0b2

And*_*ers 5

您需要将插件.dll放在正确的子目录中。对于NSIS v2.x,这是...\NSIS\Plugins内置的;对于NSIS v3.x,它是...\NSIS\Plugins\x86-ansi用于ANSI插件和...\NSIS\Plugins\x86-unicodeUnicode插件的。

您还可以将插件存储在其他文件夹中,!addplugindir如果您有多个NSIS安装,则可以使用...