我只希望安装一项功能。 但是,仅当未选择FeatureB时才能选择FeatureA。反之亦然。但是我能够同时安装这两个想法吗?
<Feature Id="FeatMainNode" Title="..." Description="..." Level="101" AllowAdvertise="no" Absent="allow">
<Feature Id="FeatureA" Title="..." Description="..." Level="1" AllowAdvertise="no" Absent="allow">
<Condition Level="101"><![CDATA[&FeatureB=3]]></Condition>
<ComponentGroupRef Id="FeatureAComponents"/>
</Feature>
<Feature Id="FeatureB" Title="..." Description="..." Level="1" AllowAdvertise="no" Absent="allow">
<Condition Level="101"><![CDATA[&FeatureA=3]]></Condition>
<ComponentGroupRef Id="FeatureBComponents"/>
</Feature>
</Feature>