I have a directory tree that I have been installer with WiX for some
time now. Recently we decided that these directories only need to be
installed under certain conditions. I moved the ComponentGroup for these
directories into its own feature and tried to set a condition as
follows:

    <Feature Id="VoltFeedsInstall" Absent="allow" Title="VoltFeeds
Install" Level="2000">
      <Condition Level="1">REGION="DAO"</Condition>
      <ComponentGroupRef Id="VoltFeedsDirStructure"/>
    </Feature>

The INSTALLLEVEL is set to 1000. I believe this fragment should only
install the VoltFeedsDirStructure component group if the REGION="DAO",
since the Condition will only reset the Level to 1 if it evaluates to
true. Am I missing something?

Thanks.

-       Phil
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to