Archive: Finished with warnings


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.


You have defined the following macro?

!insertmacro MUI_UNPAGE_CONFIRM

I can reproduce this warnings with this macro,
Bye


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.


You should not use the defines but insert page macro's. Please read the Modern UI Readme.


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


Thank you for your help.
I was using !define MUI_UNINSTALLER
It's OK now.

PôL.