Old 18th April 2006, 16:29   #1
tabbycat
Junior Member
 
Join Date: Apr 2006
Posts: 2
Uninstall Cancel Confirm

I am using the MUI with MUI_ABORTWARNING. My installer will prompt for confirmation on a "Cancel" but my uninstaller, created by the install, will not. I tried to use the un.onUserAbort function but it says that it's already defined. What can I do to make the uninstaller confirm on a "Cancel"? Mostly I want to detect the cancel so I can clean up some files from the uninstaller.
tabbycat is offline   Reply With Quote
Old 18th April 2006, 16:47   #2
galil
Member
 
Join Date: Jan 2003
Posts: 83
For uninstaller it is MUI_UNABORTWARNING
galil is offline   Reply With Quote
Old 19th April 2006, 20:47   #3
tabbycat
Junior Member
 
Join Date: Apr 2006
Posts: 2
Thanks!

I found the additional information to catch the user abort to clean up the files.

!define MUI_CUSTOMFUNCTION_UNABORT un.userAbort

Function un.userAbort
;do stuff
FunctionEnd

The problem I was having with the user manual was that the instructions for the "Modern User Interface" mode was different from all of the other instructions.
tabbycat 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