December 2012
Intermediate to advanced
488 pages
10h 23m
English
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 ...Read now
Unlock full access