Skip to content
⌘ NSIS Forum Archive

Warnings with installlib macro

10 posts

mattwilkinson#

Warnings with installlib macro

I am using the installlib macro to install some dlls, ocxs,etc. but I am getting loads of warnings like the following:

label "installlib.register_168.15" not used
label "installlib.done_168.15" not used
label "installlib.register_169.15" not used
label "installlib.done_169.15" not used
label "installlib.register_170.15" not used
label "installlib.done_170.15" not used
label "installlib.register_171.15" not used
label "installlib.done_171.15" not used

What am I not doing that I should be?

Thanks
mattwilkinson#
I am using v2.03

line 172 contains an installlib macro:

!insertmacro InstallLib DLL $1 NOREBOOT_NOTPROTECTED "${SOURCEDIR}\TimeBomb.dll" "$SYSDIR\TimeBomb.dll" "$SYSDIR"
mattwilkinson#
Yes sorry for the confusion line 168 is now line 172. This is the first warning I get and also the first installlib macro line in the script
kichik#
Fixed in latest CVS version. The fixed version is also attached to this post.
Guest#
you mattwilkinson, the !insertmacro InstallLib DLL $1 NOREBOOT_NOTPROTECTED "${SOURCEDIR}\TimeBomb.dll" "$SYSDIR\TimeBomb.dll" "$SYSDIR"
suppose to be no quota right man??
stb#
I get a warning for InstallLib
(NSIS 2.04)

installlib.done_${INSTALLLIB_UNIQUE}

label is not used if you insert the macro like this:

!insertmacro InstallLib REGDLL NOTSHARED NOREBOOT_NOTPROTECTED

It seems like the label should be within some !if(n)def or you may insert a

Goto installlib.done_${INSTALLLIB_UNIQUE}

just before the label.