This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Newly added features get installed even if not part of any setup type.
Subscribe
- 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
Jun 13, 2017
11:13 AM
Newly added features get installed even if not part of any setup type.
I have an InstallScript project where I have added a new Feature, this feature is not selected in any Setup type.
I install the old version without the new feature, then I update/upgrade with the new installer where the new feature exits.
I would have expected the feature not to be installed but it is installed even if none of the setup types has the feature selected.
The idea is that this feature should only be installed if the user, runs modify after the upgrade and then manually select the new feature. (Most users do not need the new feature)
Anyone have any idea on how I can prevent installation of newly added features during upgrade?
NOTE The feature is not installed if I first uninstall and then do a fresh install of the new installed.
I install the old version without the new feature, then I update/upgrade with the new installer where the new feature exits.
I would have expected the feature not to be installed but it is installed even if none of the setup types has the feature selected.
The idea is that this feature should only be installed if the user, runs modify after the upgrade and then manually select the new feature. (Most users do not need the new feature)
Anyone have any idea on how I can prevent installation of newly added features during upgrade?
NOTE The feature is not installed if I first uninstall and then do a fresh install of the new installed.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 14, 2017
05:41 AM
For information:
I have figured out what the issue was, the following line was present in the installscript code:
FeatureSelectNew( MEDIA, TRUE );
Once I removed this everything seems to work as expected.
I have figured out what the issue was, the following line was present in the installscript code:
FeatureSelectNew( MEDIA, TRUE );
Once I removed this everything seems to work as expected.