Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wix合并C++运行时_Wix_Windows Installer_Visual C++ Runtime - Fatal编程技术网

Wix合并C++运行时

Wix合并C++运行时,wix,windows-installer,visual-c++-runtime,Wix,Windows Installer,Visual C++ Runtime,我合并了vs 2015 crt的msm: <DirectoryRef Id="TARGETDIR" > <Merge Id = "Microsoft_VC140_CRT_x64.msm" FileCompression = "yes" Language = "1033" SourceFile = "..\\..\\..\\..\\..\\..\\..\\external\\tools\\systemsetups\\merge_modules\\Microsoft_VC140_C

我合并了vs 2015 crt的msm:

<DirectoryRef Id="TARGETDIR" >
<Merge Id = "Microsoft_VC140_CRT_x64.msm" FileCompression = "yes" Language = "1033" SourceFile = "..\\..\\..\\..\\..\\..\\..\\external\\tools\\systemsetups\\merge_modules\\Microsoft_VC140_CRT_x64.msm" DiskId = "1" />"
</DirectoryRef>
<Feature>
<Feature Id="Complete" Title="Complete" Absent="allow" Level="1">
...
<MergeRef Id="Microsoft_VC140_CRT_x64.msm"/>
...
</Feature> 

有没有办法正确地合并它?

微软似乎建议您使用redist可执行文件vcredist_x86.exe,vcredist_x64.exe中的一个,因为2015年版本的运行时是,合并模块基本上是不够的:通用CRT将没有合并模块

Bob Arnson在以下回答中对此进行了充分解释:必读链接-这就是答案,我添加此链接也是为了添加更多链接

另外,我前面没有这个Linux机器上的合并模块列表,但是可能您需要一个x86版本-您正在安装x64版本吗?只是检查一下——这些咬人的问题让我们都快发疯了

一些链接:


我发现问题:Microsoft_VC110_MFC_x64.msm:
---------------------------
MyApp.exe - System Error
---------------------------
The program can't start because mfc140u.dll is missing from your computer. Try reinstalling the program to fix this problem. 
---------------------------
OK   
---------------------------