Question

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?

Was it helpful?

Solution 2

According to Acresso's support team, this is not possible to do.

OTHER TIPS

If there are parts of your installation that are versioned/maintained independently, you may want to create separate installations for them. Then you could use your InstallScript as a bootstrapper to upgrade each installation separately based on your conditions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top