且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

WIX:是否可以多次使用合并模块?

更新时间:2023-12-01 19:08:46

(var.Configuration)\ FirstServicesMergeModule.msm" 语言 =" > < 合并 =" SharedServicesMergeModule" DiskId 1" SourceFile =" .. \ Services \ SharedServicesMergeModule \ bin \
(var.Configuration)\FirstServicesMergeModule.msm" Language="1033"/> <Merge Id="SharedServicesMergeModule" DiskId="1" SourceFile="..\Services\SharedServicesMergeModule\bin\


(var.Configuration)\ SharedServicesMergeModule.msm" 语言 > 1033" / > < /目录 > < /目录 > < /目录 > < /目录 > < /目录 > < /目录 > < /Fragment > 第二服务,第三服务,第四服务...
(var.Configuration)\SharedServicesMergeModule.msm" Language="1033"/> </Directory> </Directory> </Directory> </Directory> </Directory> </Directory> </Fragment> Secondservice, thirdservice, fourthservice...



但是,当我编译安装产品wix时,出现以下错误:



However when I compile the setup product wix I get these errors:

Error 12  The merge module ''SharedServicesMergeModule'' contains a file identifier, ''File_ServiceAssembly.2FC299CF_7F63_460C_B60D_8F7C3FF8C3C7'', that is duplicated either in another merge module or in a File/@Id attribute.  File identifiers must be unique.  Please change one of the file identifiers to a different value.  C:\Dev\Setup\Product.wxs    107 1   Setup



所以我的问题是...如何将共享1合并模块与四个服务合并模块?

谢谢,

史蒂夫



So my question is... How can a share 1 merge module with the four services merge module?

thanks,

Steve