- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installshield 2018 R2 Express - Uninstall versus Maintenance
- 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
Installshield 2018 R2 Express - Uninstall versus Maintenance
Hi,
I'm looking for clarification on this as it relates to Custom Actions:
Custom Actions During Maintenance—Actions that are scheduled during this run-time category are launched during modify mode and repair mode; they are also launched when the product is silently uninstalled. |
Custom Actions During Uninstallation—Actions that are scheduled during this run-time category are launched when the product is being uninstalled. |
The only Custom Actions during Un-Installation allowed in this Edition at least, are "Before System Changes".
I'm looking at running Custom Actions After Initialization, like done during Maintenance.
Any way of invoking the "During Maintenance" Custom Actions during Un-installation?
I guess one option would be to not allow Uninstall, only Maintenance, and do it from there...
Thanks! Pablo
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
If I understood your query properly, you are looking for installation/uninstall condition to restrict your custom action execution during application maintenance/uninstall.
you can check the below KB article for how to put conditions for custom actions to restricts their executions:
Custom action conditions can be specified in installexecution sequence against your custom action.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Ah... I see @banna_k
The thing is that I need to learn and understand how to obtain MSI Setup data such as "Installed property" and query. I believe that is via a Session.Property() call?
If so is it possible to then access say the "INSTALLED" or "REMOVE" properties, etc.?
I already get the "CustomActionData", "DATABASEDIR", what not, so I presume that would be a similar thing for these other ones?
But yeah this helps... I guess I'm not versed in MSI Installer itself and much of the InstallShield behavior actually is embedded into MSI.
Pablo