- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
