1
votes

Wix MSI Bootstrapper using just .Net Core

I have an application that will contain Windows Services and a UI all compiled in .Net Core 3.1. It will not be self-contained - it will require .Net Core 3.1 to be installed. I need to create a WIX bootstrapper to install some prerequisites and also to show the user a custom user interface.

Questions:

  1. How can I verify .Net Core 3.1 is installed? I have done it before for the full .Net framework, but not the .Net Core. Is there a value I can place in BootstrapperCore.config for supportedRuntime for .NET Core 3.1?

  2. Assuming I can do #1, in my BootstrapperCore.config, do I simply place the name of custom .Net Core 3.1 installer custom UI in wix.bootstrapper/host/assemblyName attribute? What do I put in wix.bootstrapper/host/supportedFramework/version?

My end goal is to be able to run the installer on a clean Windows system that does not have the full .Net Framework or .Net Core 3.1. I would expect that once you run the installer, it would install .Net Core 3.1 and then bring up my bootstrapper custom UI.

Thanks for the help.

1

1 Answers

3
votes

Support for a .NET Core BA was recently added in v4 - #6108. Starting the .NET Core runtime is completely different from starting the .NET Framework runtime.

.NET Core package groups were recently added in v4 - #6099.