2017-09-28 9 views
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)'

를?

답변

0

Language="0"에서 Language="1033"으로 변경하면 오류가 해결됩니다. 이것이 맞는지 확실하지 않습니다.