【发布时间】:2019-01-21 12:00:25
【问题描述】:
是否可以让特征树中的根特征没有树线,从而无法展开和折叠它?
所以下面的特征树:
<Feature Id="root" Level ="1" Title="Root" Display="expand" AllowAdvertise="no"
ConfigurableDirectory="INSTALLDIR" Absent="disallow" TypicalDefault="install"
InstallDefault="local">
<Feature Id="child1" Title="Child 1"
Level="1" Display="expand" AllowAdvertise="no"
InstallDefault="local" >
<ComponentGroupRef Id="SharedComponents" />
</Feature>
<Feature Id="child2" Title="Child 2"
Level="1" Display="expand" AllowAdvertise="no"
InstallDefault="local" >
<ComponentGroupRef Id="SharedComponents" />
</Feature>
<Feature Id="childgroup1" Title="Child Group 1"
Level="1" Display="expand" AllowAdvertise="no"
InstallDefault="local" >
<Feature Id="groupchild1" Title="Child 1"
Level="1" Display="expand" AllowAdvertise="no"
InstallDefault="local" >
<ComponentGroupRef Id="SharedComponents" />
</Feature>
<Feature Id="groupchild2" Title="Child 2"
Level="1" Display="expand" AllowAdvertise="no"
InstallDefault="local" >
<ComponentGroupRef Id="SharedComponents" />
</Feature>
</Feature>
</Feature>
给我这个:
但我宁愿在根元素上没有树线。
【问题讨论】:
标签: wix windows-installer