Talk:How can I install a plugin?: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Kichik moved page Talk:How can I install a plugin to Talk:How can I install a plugin?) |
(→Plug-in works without header: reply) |
||
Line 23: | Line 23: | ||
Thus the header file seems to be not mandatory anymore? | Thus the header file seems to be not mandatory anymore? | ||
[[User:SmallStep|SmallStep]] 10:12, 16 November 2011 (UTC) | [[User:SmallStep|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 [[Macro vs Function|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. -- [[User:Bugmenot|Bugmenot]] ([[User talk:Bugmenot|talk]]) 14:35, 8 February 2018 (UTC) |
Latest revision as of 14:35, 8 February 2018
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)