Managed-Code Bootstrapper (BA) Fails to Launch on Fresh Machine — .NET Desktop Runtime Missing #9186
Replies: 2 comments
-
|
this is the code |
Beta Was this translation helpful? Give feedback.
-
|
You can provide "primary" and "secondary" BootstrapperApplications. If your BAs prereqs are always present, a single BootstrapperApplication is enough. If not, you can use the Like all things bundle-related, end-to-end documentation is sorely lacking. So the examples in the WiX test often show best. This example has the custom BA as primary and this one has the custom BA as secondary. Note: #8654 is open to add more documentation around |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
While testing a WiX 6.0 Managed Bootstrapper Application (MBA) built using .NET Core, the installer fails to start on a fresh machine where the .NET Desktop Runtime is not installed.
The Event Viewer shows an error indicating that the required .NET runtime is missing. This prevents the bootstrapper from launching and displaying the UI.
I would like to know the recommended approach for handling this scenario —
Should we bundle the .NET Desktop Runtime installer within the WiX bundle and install it first?
Or is there any alternative approach in WiX 6 to ensure the BA runs even if .NET is not present?
Any official guidance or working example for resolving this dependency issue would be very helpful.
Open Source Maintenance Fee
wixtoolsetproject because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions