What is value of SUCCESS after uninstall?
Posted: Mon Jul 02, 2007 12:31 am
I am having problems with the value of SUCCESS during uninstall. Here is my code:
The MessageBox shows COMPLETE. That means the rest of the code below does not run!
I don't know why SUCCESS = COMPLETE when I was expecting SUCCESS to be TRUE.
Do I need to change the IF test for SUCCESS, or have I done something wrong?
Please help!
Code: Select all
if Variable REMOVE Equals TRUE
Comment: Uninstall product
Comment: TO-DO: Insert any additional uninstall commands here
Apply Uninstall (get result into variable SUCCESS)
Set Variable PROGRESS to 100
MessageBox: Uninstall - variable success, $SUCCESS$
The MessageBox shows COMPLETE. That means the rest of the code below does not run!
Code: Select all
if Variable SUCCESS Equals TRUE
if Variable SUCCESS not Equals Cancel
Unregister Library $TARGETDIR$\\ctText.ocx
I don't know why SUCCESS = COMPLETE when I was expecting SUCCESS to be TRUE.
Do I need to change the IF test for SUCCESS, or have I done something wrong?
Please help!