Talk:How can I install a plugin?
From NSIS Wiki
(Redirected from Talk:How can I install a plugin)
Jump to navigationJump to search
I've created that page because of the following:
- I needed to install "Dialogs" plugin, which is not included in NSIS distribution
- Installation information is missing in the plugin's "readme.txt" and wiki article
- General plugin installation is missing in the wiki (searched the FAQ category), it is presented only in manual.
P.S. The plugin was installed, yes.
Plug-in works without header
Today I downloaded a plug-in, namely the AccessControl plug-in. After unpacking I could not find any header file (*.nsh) which is termed as mandatory. I just tried my luck and copied the *.dll-files in the Plugin-directory. And yes, it worked!
Processing plugin dlls: "I:\imp\tools\imp\nsis\nsis-2.46\Plugins\*.dll"
- AccessControl::ClearOnFile
- AccessControl::ClearOnRegKey
- AccessControl::DenyOnFile
<more functions from AccessControl>
Thus the header file seems to be not mandatory anymore? SmallStep 10:12, 16 November 2011 (UTC)
- I know I'm replying to a 6 year-old question, but in case someone stumbles upon this and still wants an answer, I should add that .nsh header files were never mandatory for plugins. They usually provide valuable or even mandatory exported macros/functions made to ease the use of the plugin (each depending of the plugin and its developer), but there are many plugins without this kind of helpers. -- Bugmenot (talk) 14:35, 8 February 2018 (UTC)