v4 Bootstrapper with .Net 6.0 as a PreReq and WPF UI #7261
-
I am in need of some assistance on how to do what the title says. I have been trying to read the forum and documentation, but have not found a complete example of how to do this. I have tried to piece it together. I did look at https://github.com/wixtoolset/wix4/tree/develop/src/test/burn/TestBA for the UI, but it did not resolve my issue. I have two problems:
In the below files and attached logs, I have changed some info to "xxxxx" to conceal my client and the product... Here is my Bundle (notice, I even tried to use the TestBA UI DLL from the wix source repo)
And here is my .Net 6 installer
Here is WixToolset.Mba.Host.config (found out that the config file must be named this as I got an error when it had a different name)
Here is the output log: I would think the errors in the log that are important for why the UI is not loading are these:
So:
Thanks for any help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
If your managed BA is built with .NET 6 then you need to use |
Beta Was this translation helpful? Give feedback.
-
I had tried that previously, but was unsure if that was correct. I updated it to this but it still fails Here are the errors in the log:
|
Beta Was this translation helpful? Give feedback.
If your managed BA is built with .NET 6 then you need to use
bal:WixDotNetCoreBootstrapperApplicationHost
.bal:WixManagedBootstrapperApplicationHost
is only for .NET Framework managed BAs. There should probably be a warning or error ifbal:BAFactoryAssembly="yes"
is specified withbal:WixManagedBootstrapperApplicationHost
so you should create an issue for that if you think that would've helped you here.