In my custom actions I need to know if a feature was hidden, in order to skip the uninstall/remove actions. Is this possible?
Know if a feature was hidden
Posted 29 June 2016 - 03:12
My problem is that the Custom Action is always executing even when the condition is not true. Just confirming, I tested with this conditions:
INSTALLLEVEL = 0
INSTALLLEVEL = 30578
INSTALLLEVEL = 30579
INSTALLLEVEL = 30580
Tried running the installer with that different values and it looks like the InstallShield is ignoring the condition and doing whatever he wants.
Posted 11 July 2016 - 15:45
The INSTALLLEVEL property is not what you want. Use this:
&NameOfYourFeature = 2
This is true if the feature is being uninstalled.