to the main <.Feature Id=\"MainApplicat" />
开发者

<FeatureRef> cannot be sorted!

开发者 https://www.devze.com 2023-01-16 18:22 出处:网络
i have few files let say setup.wxs, client.wxs and report.wxs. pratically, client.wxs and report.wxs each has its own <.FeatureRef Id=\"MainApplication\"> to the main <.Feature Id=\"MainApplicat

i have few files let say setup.wxs, client.wxs and report.wxs. pratically, client.wxs and report.wxs each has its own <.FeatureRef Id="MainApplication"> to the main <.Feature Id="MainApplication" ...>. but the funniest thing is, i cannot sort the tree order.

let say i want:

MainApp

|- Client

|- Report

Unfortunately, it will come out the result with:

MainApp

|- Rep开发者_运维技巧ort

|- Client

unless i put these all features into the main setup.wsx without <.FeatureRef>. by this way, i can sort them as what i wanted.

can any help me on this?


Correct. If you want to control the order, then you need to put FeatureRef or Feature elements in the correct order under the MainApp Feature. Limitiation of the WiX toolset (that no one has complained about until now ;).

You could probably open a feature request against the WiX toolset.

0

精彩评论

暂无评论...
验证码 换一张
取 消