Skip to content
⌘ NSIS Forum Archive

Finished with warnings

6 posts

pol#

Finished with warnings

Hello all,

I have this message after a script compilation (MakeNSIS v2.0b4 (CVS)). Does anyone have an idea?

3 warnings:
uninstall function "un.mui.ConfirmPre" not referenced - zeroing code (0-6) out

uninstall function "un.mui.InstFilesPre" not referenced - zeroing code (9-15) out

uninstall function "un.mui.InstFilesLeave" not referenced - zeroing code (17-31) out

PôL.
ramon18#
You have defined the following macro?

!insertmacro MUI_UNPAGE_CONFIRM

I can reproduce this warnings with this macro,
Bye
pol#
Hello,

No, I was using !define MUI_UNCONFIRMPAGE
I have just try with MUI_UNPAGE_CONFIRM and I have this 2 warnings now :

2 warnings:
uninstall function "un.mui.InstFilesPre" not referenced - zeroing code (9-15) out
uninstall function "un.mui.InstFilesLeave" not referenced - zeroing code (17-31) out

It's better :-)

Do you know how to remove the InstFilesPre and InstFilesLeave warnings?

PôL.
Joost Verburg#
You should not use the defines but insert page macro's. Please read the Modern UI Readme.
ramon18#
You just need this two macros I think

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

and don't use any define

Good luck
Ramon