Merge module files into different locations

前端 未结 4 1406
北恋
北恋 2021-01-24 01:54

I\'d like to parse merge module files into two different locations. Is it possible?

    
          


        
4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-24 02:40

    There is a concept for that, it is called a retargetable merge module. I have avoided used it - the concept doesn't seem right to me. I have not tried to make one with Wix.

    I think you could combine a Wix include file (simple sample) with the new auto-generated component guids to deploy such duplicated files reliably by adding an Include statement where appropriate. You must not hard code the guids in this case, but let them be auto generated by the Wix compiler and linker.

    Also have a read of WixLibs (Wix library files): http://robmensching.com/blog/posts/2008/10/10/what-are-.wixlibs-and-why-would-you-use-them/

    Wix documentation; http://wixtoolset.org/documentation/manual/v3/overview/files.html

提交回复
热议问题