SHK
SHK

Reputation: 135

BootstrapperApplicationRef contain an unexpected child element 'bal:WixExtendedBootstrapperApplication' error

Currently I am working on wix bootstrapper project. Here I have to implement WixExtendedBootstrapperApplication as BootstrapperApplicationRef. But I get error like in the image.

Error_snapshot

My bundle code is like this

<?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>

How I can fix this error? Please help me.

Upvotes: 0

Views: 791

Answers (1)

Sean Hall
Sean Hall

Reputation: 7878

bal:WixExtendedBootstrapperApplication comes from Neil Sleightholm's WiX Extended Bootstrapper Application extension. You must reference the extension's dll (WixBalExtensionExt.dll) in your WiX project.

Upvotes: 1

Related Questions