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: Install Component only during upgrade in InstallScript project
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
Dec 03, 2020
05:38 AM
Install Component only during upgrade in InstallScript project
I want to install certain component in my InstallScript project only during the upgrade. How can I achieve that?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 07, 2020
03:36 AM
Hi Deepak,
We can achieve this by using FeatureSelectItem function in Maintenance mode.
if (MAINTENANCE) then
FeatureSelectItem (MEDIA, "Feature1\\Subfeature2", TRUE);
endif;
Thanks.
Thananjeyan
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)