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

Subfeature Selection

I've seen lots of threads on this issue but I still can't get it working.

I have a feature and a subfeature. I have set my subfeature to InstallLevel 200 and to Install Local. The parent feature is InstallLevel 1 and InstallLocal.

When I select the feature, the subfeature is selected automatically. However, when I go to deselect the subfeature, the feature becomes unchecked.

How can I get it so just the feature is selected but the subfeature is not?
Labels (1)
0 Kudos

(3) Replies
MichaelU
Level 12 Flexeran
Level 12 Flexeran

I forget what all the interactions are in features trees like this, but I think perhaps adding an invisible empty feature as a sibling of the one you want to be able to avoid selecting may help. Certainly adding a visible one would help, but that's not what you're looking for.
0 Kudos
gknierim
Level 6

Wow, adding another feature (and making not visible) at the same level actually worked. This is a bug IMO. Now I have a dummy subfeature to get the other subfeature to work.
0 Kudos
MichaelU
Level 12 Flexeran
Level 12 Flexeran

Yup, gotta love Windows Installer behavior. But before assuming Microsoft left us a bug, consider how you would get that other behavior if it didn't work that way. Maybe just maybe this is a "feature." 😉
0 Kudos