Was looking to run a Custom Action if the user runs an uninstall from the Windows Control Panel. Can I just use _ISMaintenance = "Remove" as the Install Exec Condition and the Install Exec Sequence as After ISSetupFilesCleanup ? Figured I would have to put it in the Exec Sequence since the Control Panel doesn't run the User Interface Sequence. I want the Custom Action to run last.
Looks like you can't use the Maintenance mode _ISMaintenance variable. You just use REMOVE="ALL" instead for the condition and it picks up when you are uninstalling. Then all you have to do is add it to the exec sequence where you want it to run (because form the control panel is just like running in silent "/s" mode). Maybe someone else can use this.