Extending the BootstrapperApplication class

The first class we'll add to our project will provide the bridge between our code and the Burn engine. Add a new C# class file and name it CustomBootstrapperApplication. It should extend the BootstrapperApplication class from the Microsoft.Tools.WindowsInstallerXml.Bootstrapper namespace. Add the following code:

using CustomBA.Models; using CustomBA.ViewModels; using CustomBA.Views; using Microsoft.Tools.WindowsInstallerXml.Bootstrapper; using System; using System.Windows.Threading; namespace CustomBA { public class CustomBootstrapperApplication : BootstrapperApplication { public static Dispatcher Dispatcher { get; set; } protected override void Run() { Dispatcher = Dispatcher.CurrentDispatcher; var model ...

Get WiX 3.6: A Developer's Guide to Windows Installer XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.