Skip to content
⌘ NSIS Forum Archive

Error including Linker plugin

2 posts

azcn2503#

Error including Linker plugin

Hi all,

I am trying to include theLinker plugin to my installer but I am facing an error when compiling:

!include: "C:\Program Files (x86)\NSIS\Include\CommCtrl.nsh"
!define: "COMMCTRL_INCLUDED"=""
!define: "VER_PLATFORM_WIN32_NT" already defined!
!include: error in script: "C:\Program Files (x86)\NSIS\Include\Win\WinNT.nsh" on line 192
!include: error in script: "C:\Program Files (x86)\NSIS\Include\WinCore.nsh" on line 21
!include: error in script: "C:\Program Files (x86)\NSIS\Include\CommCtrl.nsh" on line 8
It seems that it is not working out of the box. Any advice on how to fix?

The plugin page also has different versions of the plugin available, but no .nsh available in the most recent 1.2 package (at least I think 1.2 is the most recent, unless the one on top is? It's not too clear)

Thanks in advance.