cancel
Showing results for 
Search instead for 
Did you mean: 
pdepaulis_sa
Flexera beginner

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

Labels (1)
0 Kudos
2 Replies
Flexera banna_k
Flexera

Re: Installshield 2018 R2 Express - Uninstall versus Maintenance

@pdepaulis_sa  :

 

 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:

https://community.flexera.com/t5/InstallShield-Knowledge/Installation-and-Uninstallation-Conditions/...

Custom action conditions can be specified in installexecution sequence against your custom action. 

0 Kudos
Highlighted
pdepaulis_sa
Flexera beginner

Re: Installshield 2018 R2 Express - Uninstall versus Maintenance

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

0 Kudos