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
- :
- Install Subfeature on the upgrade conditionally
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 18, 2010
04:00 AM
Install Subfeature on the upgrade conditionally
Hi,
I am Using InstallScript MSI project.
Structure is like:
Feature: A, this feature is visible and SubFeature B is added in the Required field.
Subfeature under A: B, this feature is not visible and get installed with the selection of A.
Merge modules are included inside the Subfeature B.
SubFeature B has also one condition which is based on a public property that i am setting after getting the input from the user on a dialog.
So, Subfeature B gets installed correctly while first time installation. While on upgrade, B is not getting installed.
But the script does execute fine for both first time and upgrade scenario.
We have a "Reevaluate Condition" for component but what about feature?
Note: Above scenario is for minor upgrade. While first time installation, B was not installed as the condition for that subfeature was failed at that time. But during upgrade condition is passed, then also B is not deploying the merge modules. Please suggest.
I am Using InstallScript MSI project.
Structure is like:
Feature: A, this feature is visible and SubFeature B is added in the Required field.
Subfeature under A: B, this feature is not visible and get installed with the selection of A.
Merge modules are included inside the Subfeature B.
SubFeature B has also one condition which is based on a public property that i am setting after getting the input from the user on a dialog.
So, Subfeature B gets installed correctly while first time installation. While on upgrade, B is not getting installed.
But the script does execute fine for both first time and upgrade scenario.
We have a "Reevaluate Condition" for component but what about feature?
Note: Above scenario is for minor upgrade. While first time installation, B was not installed as the condition for that subfeature was failed at that time. But during upgrade condition is passed, then also B is not deploying the merge modules. Please suggest.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 19, 2010
09:43 AM
I have fixed it with a workaround of making that feature "Required".