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
- :
- New feature does not install if upgrading but installs if new installation
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
‎Jan 22, 2013
02:09 PM
New feature does not install if upgrading but installs if new installation
Hi,
I have included a new feature (.NET assembly and related files) and its components in InstallShield 2012 Spring InstallScript project. The feature and its components are not installed on the target system if the installation is an upgrade from an earlier version. It does get installed only if it is a new installation.
Any help is really appreciated.
I have included a new feature (.NET assembly and related files) and its components in InstallShield 2012 Spring InstallScript project. The feature and its components are not installed on the target system if the installation is an upgrade from an earlier version. It does get installed only if it is a new installation.
Any help is really appreciated.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 22, 2013
10:30 PM
Hi ruslan_g ,
New features are installed only on majaor upgrade scenario, let me know it is major upgrade or minor upgrade?
New features are installed only on majaor upgrade scenario, let me know it is major upgrade or minor upgrade?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2013
08:27 AM
palanisamy wrote:
Hi ruslan_g ,
New features are installed only on majaor upgrade scenario, let me know it is major upgrade or minor upgrade?
Hi palanysami,
This was a minor upgrade to an InstallScript project since I have not changed the product code or updated the major version.
I then tried upgrading the major version but it did not cause the new feature to be installed.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 23, 2013
10:50 AM
Hi,
I'm not sure if are using the feature selection dialog during the upgrade, but if you aren't make sure in OnUpdateUIBefore are you calling FeatureSelectNew( MEDIA, TRUE );. This will automatically select newly added features. Then if you are calling FeatureTransferData ( MEDIA ); this new feature should include the new feature.
Hopefully this helps.
Thanks,
Erickson
I'm not sure if are using the feature selection dialog during the upgrade, but if you aren't make sure in OnUpdateUIBefore are you calling FeatureSelectNew( MEDIA, TRUE );. This will automatically select newly added features. Then if you are calling FeatureTransferData ( MEDIA ); this new feature should include the new feature.
Hopefully this helps.
Thanks,
Erickson
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2013
08:33 AM
merick81 wrote:
Hi,
I'm not sure if are using the feature selection dialog during the upgrade, but if you aren't make sure in OnUpdateUIBefore are you calling FeatureSelectNew( MEDIA, TRUE );. This will automatically select newly added features. Then if you are calling FeatureTransferData ( MEDIA ); this new feature should include the new feature.
Hopefully this helps.
Thanks,
Erickson
Thank you very much, FeatureSelectNew did the trick for me.