是否有可能在特征树的根功能,没有树行,所以你不能展开和折叠呢?
所以下面的功能树:
<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>
使我这个:
但我宁愿没有根元素上树线。