2017-03-15 5 views
0

현재 wix 부트 스트 래퍼 프로젝트를 진행 중입니다. 여기에 WixExtendedBootstrapperApplication을 BootstrapperApplicationRef로 구현해야합니다. 그러나 나는 이미지 에서처럼 오류를 느낀다.BootstrapperApplicationRef에 예기치 않은 하위 요소 'bal : WixExtendedBootstrapperApplication'오류가 있습니다.

Error_snapshot

내 번들 코드는 내가이 오류를 해결할 수있는 방법이

<?xml version="1.0" encoding="UTF-8"?> 
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" 
    xmlns:bal="http://schemas.microsoft.com/wix/BalExtension" 
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> 
<Bundle Name="Bootstrapper1" Version="1.0.0.0" Manufacturer="Iam The best" UpgradeCode="d1f7b448-6985-47af-8c8d-8a07fb6d124d" AboutUrl="http://www.abcd.com" DisableModify="yes" 
DisableRemove="no"> 
<BootstrapperApplicationRef Id="WixExtendedBootstrapperApplication.HyperlinkLicense"> 
    <bal:WixExtendedBootstrapperApplication 
     LogoFile="BundleLogo.jpg" 
     SuppressRepair="yes" 
     SuppressOptionsUI="yes"/> 
</BootstrapperApplicationRef> 

<WixVariable Id="WixExtbaThemeXml" Value="BundleTheme.xml" /> 
<WixVariable Id="WixExtbaThemeWxl" Value="BundleHyperlinkTheme.wxl" /> 
<WixVariable Id="WixStdbaLicenseUrl" Value="" /> 

    <Chain> 
    <MsiPackage Id='SampleInstaller' SourceFile='$(var.SetupProject1.TargetDir)SetupProject1.msi' Vital='yes'> 
    </MsiPackage> 
    </Chain> 
</Bundle> 

처럼? 도와주세요.

답변

1

bal:WixExtendedBootstrapperApplication은 Neil Sleightholm의 WiX Extended Bootstrapper Application extension에서 비롯됩니다. WiX 프로젝트에서 확장 프로그램의 dll (WixBalExtensionExt.dll)을 참조해야합니다.

+0

이미 WixBalExtension.dll을 추가했습니다. 그래서 당신이 제안한대로 WixBalExtensionExt.dll을 추가했습니다. 이제는 dll이 같은 스키마를 사용하는 것처럼 새로운 오류를 보여줍니다. 나는 Wix 3.10을 사용하고있다. 다른 문제가 될 가능성이 있습니까? Wix 3.10에서는 WixBalExtensionExt.dll이 존재하지 않습니다. 그래서 다운로드하여 별도로 추가했습니다. – SHK

+0

@SHK 핵심적인 WiX 확장이 아니기 때문에 WixBalExtensionExt.dll이 없었습니다. Neil은 "동일한 스키마"오류를 기반으로 WiX에서 제공하는 핵심 WixBalExtension을 대신하여 작성해야합니다. 프로젝트에서 WixBalExtension을 제거해야하는 것 같습니다. –

관련 문제