This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Running Custom Actions On Uninstallation of Patch
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 28, 2013
05:05 AM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 29, 2014
11:48 AM
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.
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.