Wix4 - The bootstrapper bundle install failed: Error 0x8007006e: Failed to load bootstrapper config file from path: C:\Windows\TEMP\{882BAC2B-4B8E-4FAD-8F2C-06C4993CBC2D}\.ba\WixToolset.Mba.Host.config #7268
-
Hello guys, I'm upgrading a installer from wix3 to wix4 version. The installer bundle is using WPF as GUI. After upgrade, the msi installer works good, but the boostrapper bundle installation failed due to below errors. Is this file "WixToolset.Mba.Host.config" came from wix4 ? I don't have this file in wix3 installer. I attached the error log and bundle boostrapper code below. error log Bundle bootstrapper code:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I think I had the same error; I suppose you have the Bootstrappercore.config added as per the bootstrapper code above; try renaming it to my WixToolset.Mba.Host.config (to replace the BootstrapperCore.config) <?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="wix.bootstrapper" type="WixToolset.Mba.Host.BootstrapperSectionGroup, WixToolset.Mba.Host">
<section name="host" type="WixToolset.Mba.Host.HostSection, WixToolset.Mba.Host" />
</sectionGroup>
</configSections>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" />
<supportedRuntime version="v2.0.50727" />
</startup>
<wix.bootstrapper>
<host assemblyName="ManagedBootstrappingApplication">
</host>
</wix.bootstrapper>
</configuration> I think your BootstrapperCore should look quite similar other than those sections:
to reference the new Namespace of Wix4 compared to Wix3. I don't see you adding the WixToolset.Mba.Core.dll which may still be missing in your Payloads. |
Beta Was this translation helpful? Give feedback.
I think I had the same error; I suppose you have the Bootstrappercore.config added as per the bootstrapper code above; try renaming it to
WixToolset.Mba.Host.config
- probably you will need to change the content of the config sections, I can give you what I have found so far, which is for using Wix4 burn with a 4.7.2 .net, not already changed to a 6.0, but with<bal:WixManagedBootstrapperApplicationHost/>
I think you are trying to use a .net 4 framework yourself.my WixToolset.Mba.Host.config (to replace the BootstrapperCore.config)