2013-03-13 1 views
2

WiX를 처음 사용합니다. 방금 WixW 3.7을 설치하여 오픈 소스 JiraSVN plugin을 구축했습니다. 그러나 다음과 같은 오류가 Visual Studio에서 빌드 나누기 :WiX : 오류 t RegistryKey 요소에 예기치 않은 특성 'ForceDeleteOnUninstall'이 있습니다.

<Component Id="C__Registry" Guid="{40D60013-...D30D5}" Win64="yes"> 
<RegistryKey Root="HKCR" Key="CLSID\{CF732FD7-...1A7E9D}" ForceDeleteOnUninstall="yes"> 
    <RegistryValue Value="TortoiseSVN Jira Plugin" Type="string" Action="write" /> 
    <RegistryKey Key="Implemented Categories"> 
     <RegistryKey Key="{3494FA92-...5E7831}" ForceCreateOnInstall="yes" />   </RegistryKey> 
</RegistryKey> 
</Component> 

나는 또한 얻고 경고 등 : 이러한 오류는 다음과 같은 요소를 포함하는 product.wxs 파일을 참조

The RegistryKey element contains an unexpected attribute 'ForceDeleteOnUninstall'. 
The RegistryKey element contains an unexpected attribute 'ForceCreateOnInstall'. 

The 'ForceDeleteOnUninstall' attribute is not declared. 
The 'ForceCreateOnInstall' attribute is not declared. 

WiX 설명서에서 찾을 수있는 것은 WiX 프레임 워크의 표준 속성입니다. 그래서 그들을 인식하지 못하게 할 수 있습니까? 이어야합니까?

답변

4

먼저 이러한 속성을 추가하는 이유는 무엇입니까? 보낸 스 니펫 (snippet)에서 불필요하며 설치를 부 풀리게됩니다. 거기에 아무 것도 강요 할 필요가 없습니다.

둘째, Visual Studio 컴퓨터에 WiX v3.5 이하가 설치되어 있어야합니다. 이러한 속성은 WiX v3.6에 추가되었습니다.

+0

속성을 추가하지 않았고 목적을 모르기 때문에 속성이있는 이유를 말할 수 없습니다. – kmote

+0

...하지만 당신은 실패에 관해서 스포트했습니다. 어쨌든 나는 최신 버전이 아닌 이전 버전의 Wix의 다운로드 페이지 링크를 따랐습니다 (불일치를 눈치 채지 못했습니다). 감사! – kmote