[wix-users] Features and Sub-Features

Edwin Castro egcastr at gmail.com
Wed Sep 2 20:57:39 PDT 2015


What I heard was an organization like the following:

<Component Id="C"/>

<Feature Id="F">
  <Feature Id="F1">
    <ComponentRef Id="C"/>
    <Component Id="C1"/>
  </Feature>
  <Feature Id="F2">
    <ComponentRef Id="C"/>
    <Component Id="C2"/>
  </Feature>
</Feature>

Is this what you are looking for?

On Wed, Sep 2, 2015 at 4:58 PM, Robert Beardsworth
<rob_beardsworth at hotmail.com> wrote:
> Hi All,   let's say that I have a feature (in name only) F , which consists of 2 parts, F1/F2 . F1 and F2 both have components, say C1/C2. In addition, there is a common component C which is required by both C1 and C2. When someone installs F, they should be able to install F1 or F2 or F1&F2. There is no "neither F1 nor F2".
>
> In the 2 cases:
>
> A stand-alone "F" msi"F" as part of a larger product msi
> How can I make sure that:
>
> C IS installed if either F1 or F2 is selectedC is NOT installed if neither F1 nor F2 are installedIf neither F1 nor F2 is selected, then F is also "entire feature will not be installed"
> ? (Obviously if the 3rd question is easily done, then adding C to F will handle the 2nd one)
>
> Do I have to write a custom UI, or can this easily be done with or without a standard UI?
>
> Thanks, Rob
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



-- 
Edwin G. Castro


More information about the wix-users mailing list