Hi,
The difference between an installation and an uninstall is made by the condition
REMOVE="ALL" in the "Expression" field ("Custom Action Properties" page, "Execution Condition" section). This condition makes that custom action to run during an uninstall.
In order to make a custom action run during a rollback you must select "Rollback" in the "Custom Action Properties" page, "Execution Options".
Why do you need to run a custom action during the rollback of an uninstall?
Please note that in order to do that you need to have a deferred custom action which will be placed after your rollback custom action.
You can read more about the rollback of an installation here:
http://msdn2.microsoft.com/en-us/library/aa371370.aspx
Look here for more information about rollback custom actions:
http://www.advancedinstaller.com/user-g ... tions.html
http://www.advancedinstaller.com/user-g ... rties.html
Regards,
cosmin
FOLLOW US
Get the latest news in Application Packaging