mattwilkinson
10th January 2005 09:15 UTC
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
kichik
10th January 2005 10:39 UTC
Which version of NSIS are you using? What's in lines 168-171 in your script?
mattwilkinson
10th January 2005 10:45 UTC
I am using v2.03
line 172 contains an installlib macro:
!insertmacro InstallLib DLL $1 NOREBOOT_NOTPROTECTED "${SOURCEDIR}\TimeBomb.dll" "$SYSDIR\TimeBomb.dll" "$SYSDIR"
kichik
10th January 2005 10:58 UTC
Was there a warning for line 172 too?
mattwilkinson
10th January 2005 11:13 UTC
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
10th January 2005 11:59 UTC
Fixed in latest CVS version. The fixed version is also attached to this post.
mattwilkinson
10th January 2005 12:09 UTC
That's fixed it - thanks.
NHOCSUNG
10th January 2005 16:54 UTC
you mattwilkinson, the !insertmacro InstallLib DLL $1 NOREBOOT_NOTPROTECTED "${SOURCEDIR}\TimeBomb.dll" "$SYSDIR\TimeBomb.dll" "$SYSDIR"
suppose to be no quota right man??
stb
21st January 2005 14:04 UTC
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.
kichik
21st January 2005 15:13 UTC
2.04 was released before this was reported. It does not contain the fix.