How to include fragments in Wix?

后端 未结 2 1790
无人共我
无人共我 2021-01-04 04:46

I have created a wixlib to share fragments in some wix projects.
I can reference fragments which have Property in my main wix file with a PropertyRef, but how can I refe

2条回答
  •  抹茶落季
    2021-01-04 05:06

    Back in the old days of wix 2 we used to have FragmentRef elements. It was very easy to include any fragment in your Product section and it was very easy for anyone reading the xml to figure out what was being done.

    
    
    

    Now in wix 3 they have eliminated the FragmentRef element. Not sure why. I find it very anoying, because in my Product element I have to add several references to "something defined in my fragments"

    
    
    

    If I don't do that the fragment is completely ignored and does not make its way into the final MSI.

    That's very cryptic for anyone reading the xml. Give my FragmentRef's back!

提交回复
热议问题