cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mayurbirari
Level 5

In the Modify mode, how to identify that a feature selection is changed?

I want to show a screen to the user only if he selects or de-selects some of the features (i.e. feature state should be changed).
For e.g. the screen should only be shown if the feature was not selected in the first install and selected in the modify mode or vice-versa.

Does anybody knows how do I get that feature state is changed?

Thanks,
Mayur.
Labels (1)
0 Kudos
(3) Replies
tomerdr
Level 6

As far as i can tell,the feature tree will reflect the last install,
So all features which was installed at first will be selected

Note that if you use MsiGetFeatureState right after closing the feature dialog

It won't return INSTALLSTATE_LOCAL for the requested action
as (I) expected.
0 Kudos
mayurbirari
Level 5

Hi,
Thanks for the reply.
Yes I understand that the feature tree shows the already installed features as checked and the features not installed as un-checked.
But, I want to check whether the user has done anything further to that feature, means suppose if that feature was already installed then it will be shown as selected in the feature tree. And suppose user donot want it anymore so he de-selects it. So now in this condition I want to show a screen to a user. Or it can also be that the feature was not installed prevously and now he wants it then in this case also I want to show that screen to the user.
0 Kudos
mayurbirari
Level 5

And 1 thing I forgot to mention is that I'm using pure installscript project.
0 Kudos