How to generate WiX XML from a .reg file?

前端 未结 6 557
囚心锁ツ
囚心锁ツ 2020-12-09 05:22

Is there a tool to generate WiX XML given a .reg file?


In 2.0, you were supposed to be able to run tallow to generate registry XML:

         


        
6条回答
  •  天命终不由人
    2020-12-09 05:56

    I've tried tallow.exe (version 2.0.5805) from the latest stable Wix 2 release and it worked fine for me.

    tallow -reg my.reg
    

    This will generate the markup using Wix 2 "Registry" tag that was deprecated in Wix 3. Then you have to copy the output into a wix source file and execute WixCop utility to convert Wix 2 markup to Wix 3:

    wixcop my.wxs -f
    

提交回复
热议问题