What are some good resources for understanding how Features work? Every time I try to read through the Windows Installer documentation I get a headache and feel more confused than when I began… or at least I feel that way as it relates to Features. I’ll explain what I want in case somebody can help me understand it better. I believe Features are supposed to work like this but I’m having a hard time figuring out what I need to set and to what values.
I will have a relatively shallow feature tree that roughly looks like the following: <Feature Id="F.All"> <Feature Id="F.A"> <Feature Id="F.A.1"> <ComponentGroupRef Id="..."/> </Feature> <Feature Id="F.A.2"> <ComponentGroupRef Id="..."/> </Feature> <Feature Id="F.A.3"> <ComponentGroupRef Id="..."/> </Feature> <Feature Id="F.A.4"> <ComponentGroupRef Id="..."/> </Feature> <Feature Id="F.A.5"> <ComponentGroupRef Id="..."/> </Feature> </Feature> <Feature Id="F.B"> <ComponentGroupRef Id="..."/> </Feature> <Feature Id="F.C"> <Feature Id="F.C.1"> <ComponentGroupRef Id="..."/> </Feature> <Feature Id="F.C.2"> <ComponentGroupRef Id="..."/> </Feature> </Feature> </Feature> The installer will not have a UI so the user will need to select the desired features on the command line. No feature is selected by default. The installer should not execute if the user does not select at least one feature. (Is this expressible with a LaunchCondition?) When a _parent_ feature is selected then all child features should be selected too. Example: If F.C is selected then F.C.1 and F.C.2 should be selected too. If F.All is selected then all features should be selected. Lastly, I want to use LaunchConditions to stop an installer if Properties required by a feature are not set when that feature is selected. Example: F.A.3 requires P.F.A.3 is set and the installer should not execute if F.A.3 is selected on the command line but P.F.A.3 is not set on the command line. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users