Hi there
I have succeded in making an uninstall script, wich ask the user why he/she
wants to uninstall. This works very fine, and i only have one small problem
left:
If the user desides to not send to me (presses Cancel instead of Next) he is
told that the installation is not finished. Are you sure you want to
interrupt the installation ?.
Can i change this info, or remove the Cancel button ?

Here is my script:


#pragma UNINSTALL = "1"

If %_SB_INSTALLERFLAG% Not Equals "1" on Position "$SB_SILENTMODEFLAG$" Then
Display Message Box "#UNINST_CONFIRM#" -- "#UNINST_HEADING#"
Else
Set Variable %_SB_RETURN% to "$IDYES$"
End
Set Variable %FEEDBACK% to ""

If %_SB_RETURN% Equals "$IDYES$" Then
Process Uninstall Queue
! --- Process uninstall queue ---

If %_SB_ERRORCODE% Equals "0" And %_SB_INSTALLERFLAG% Not Equals "1" on
Position "1" Then
Display Message Box "#UNINST_FINISH#" -- "#UNINST_HEADING#"
End
Define Wizard Dialog "UNINSTALLSURVEY" (Edit Data [Multiple Line])
Loop Wizard (Abort Dialog Inactive)
End
Post to HTTP Server "http://www.vipilon.dk/formmail.php"
End


--
Kind regards / Med Venlig Hilsen
Viggo Poulsen
Vipilon ApS
www.vipilon.dk