Old 3rd June 2003, 13:34   #1
pol
Junior Member
 
Join Date: Jun 2003
Posts: 18
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.
pol is offline   Reply With Quote
Old 3rd June 2003, 13:42   #2
ramon18
NSIS Dev
 
ramon18's Avatar
 
Join Date: Apr 2003
Location: Portugal
Posts: 110
You have defined the following macro?

!insertmacro MUI_UNPAGE_CONFIRM

I can reproduce this warnings with this macro,
Bye
ramon18 is offline   Reply With Quote
Old 3rd June 2003, 13:50   #3
pol
Junior Member
 
Join Date: Jun 2003
Posts: 18
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.
pol is offline   Reply With Quote
Old 3rd June 2003, 15:16   #4
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You should not use the defines but insert page macro's. Please read the Modern UI Readme.
Joost Verburg is offline   Reply With Quote
Old 3rd June 2003, 15:17   #5
ramon18
NSIS Dev
 
ramon18's Avatar
 
Join Date: Apr 2003
Location: Portugal
Posts: 110
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
ramon18 is offline   Reply With Quote
Old 3rd June 2003, 15:49   #6
pol
Junior Member
 
Join Date: Jun 2003
Posts: 18
Thank you for your help.
I was using !define MUI_UNINSTALLER
It's OK now.

PôL.
pol is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump