0
我的目標是在我的msi中包含OPC COM ProxyStub MergeModule(x64)。我正在使用WiX。我試着按照How To: Install the Visual C++ Redistributable with your installer的示例代碼。獲取錯誤:無法打開合併模塊'... msm'。檢查以確保模塊語言正確
這裏是我的Product.wxs:
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" ...>
<Product Id="*" Name="..." Language="1033" Version="..." Manufacturer="..." UpgradeCode="...">
...
<DirectoryRef Id="TARGETDIR">
<Merge Id="OPCRedist" SourceFile="OPC COM ProxyStub MergeModule (x64).msm" DiskId="1" Language="0"/>
</DirectoryRef>
<Feature Id="OPCRedist" Title="OPC Core Components" AllowAdvertise="no" Display="hidden" Level="1">
<MergeRef Id="OPCRedist"/>
</Feature>
</Product>
...
</Wix>
當我編譯wixproj我得到以下錯誤:
Unable to open merge module 'OPC COM ProxyStub MergeModule (x64).msm'. Check to make sure the module language is correct. 'The language of this installation package is not supported by your system. (Exception from HRESULT: 0x80070657)'
如何擺脫錯誤的?