Cannot load the CustomBA in WiX 4, Error 0x80131902 #8603
Unanswered
MatthiasRInst
asked this question in
Questions
Replies: 2 comments
-
I am also getting the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
It will be very helpful, if implementer of this V4 Wix group to provide a sample working project(Hello World Application) for CustomBootStrapper application in V4. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
having migrated my CustomBA from WiX 3.* to 4.0.5, it builds, but Burn does not call it.
I think I have considered all the necessary steps to bind the CustomBA to the bundle:
Bundle.wxs:
.NET Framework is contained as an ExePackage with bal:PrereqPackage="yes".
In my CustomBA (assembly is ManagedBootstrapper.CustomBA.dll), there is a factory class derived from BaseBootstrapperApplicationFactory where the Create method just creates a new CustomBootstrapperApplication object and sets its Command property to the command parameter.
My CustomBootstrapperApplication class is derived from BootstrapperApplication.
In the AssemblyInfo.cs, there is the attribute
[assembly: BootstrapperApplicationFactory(typeof(CustomBootstrapperApplicationFactory))]
instead of the old BootstrapperApplication attribute.I created WixToolset.Mba.Host.config from the old BootstrapperCore.config:
CustomBA and Bundle build, but when I run my Install.exe, log file tells me:
I have written an Exe wrapper that calls CustomBootstrapperApplicationFactory.Create() and then CustomBootstrapperApplication.Run(). Using this, CustomBA starts.
As of now, I have no clue what is missing here.
Beta Was this translation helpful? Give feedback.
All reactions