1
votes

In a Wix installer, I have many features, and a component for the documentation. I use a feature tree, so the user can select what features to install. I want the component for the documentation to be installed if at least one of the features is selected.

If no feature is selected, then I don't want the component to be installed (in that case, the product shouldn't install at all).

How to achieve this ?

1

1 Answers

2
votes

Add the component to each of the features. You might find it convenient to use a ComponentRef or CompononentGroupRef.