问题描述
我只希望安装一项功能。 但是,仅当未选择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>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)