I have a tool which automatically creates InstallShield installers (InstallScript, not MSI), and my main problem at the moment is that when upgrading an installation, I need a way to prevent features from being upgraded. During the installation, I want to check the version of a exe-file installed on the target system, and depending on this I want to be able to exclude a specific feature from the set of files being upgraded.
I tried to implement this by calling FeatureSelectItem(feature, FALSE)
in the feature's OnInstalling
event handler, but this causes the entire feature to be uninstalled, which is not what I want. I just want the feature to be excluded from the upgrade.
Is there a way to do this?