cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
fairyberry
Pilgrim

Running Custom Actions On Uninstallation of Patch

I have a .msi that performs custom actions during installation and uninstallation.
Base on the msi, I created the patch that is not uninstallable unless you uninstall the patched application.

The problem is that when I apply the patch, the custom actions are disabled on uninstallation of the application...

To create the patch, you are supposed to create the minor upgrade msi.
So, I have set the custom action property for the minor upgrade msi as below.

Run during Patch Uninstall : Yes
Install Exec Sequence : After the InstallValidate action
Install Exec Condition : REMOVE = "ALL"

What else should I be aware of when creating a patch?

Any help would be appreciated.

Thanks,

Sachi
Labels (1)
0 Kudos
1 Reply
GrantK
Pilgrim

Re: Running Custom Actions On Uninstallation of Patch

Here are some examples of conditions that can be placed on custom actions:
http://www.installationdeveloper.com/3492/common-conditions-used-in-msi-installations/

I would suggest creating a verbose log tho to see if the condition is not being met or if something else is not letting it run.
0 Kudos