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!
Why were you expecting SUCCESS to be TRUE? Just open the help file entry for the Apply Changes command - easiest way to do this is by double-clicking the Apply Uninstall line, and then pressing F1. This will bring up the help file topic for the Apply Changes command (you can use the same technique to view context sensitive help for other MSIcode commands). The values that are returned by Apply Changes are enumerated in that topic.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/