BootstrapperApplicationRef包含意外的子元素'bal:WixExtendedBootstrapperApplication'错误

时间:2017-03-15 06:08:55

标签: .net wix bootstrapper burn

目前我正在开发wix bootstrapper项目。在这里,我必须将WixExtendedBootstrapperApplication实现为BootstrapperApplicationRef。但是我在图像中得到了错误。

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 个答案:

答案 0 :(得分:1)

bal:WixExtendedBootstrapperApplication来自Neil Sleightholm的WiX Extended Bootstrapper Application extension。您必须在WiX项目中引用扩展名的dll(WixBalExtensionExt.dll)。