cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
raj
Level 6

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.
Labels (1)
0 Kudos
(1) Reply
raj
Level 6

I have fixed it with a workaround of making that feature "Required".
0 Kudos