Creating the class library

So how do we begin to extend the Burn UI? In short, we will build a C# class library (.dll) that references BootstrapperCore.dll. Our class library will then be referenced within our bootstrapper markup. When the bootstrapper starts up, it will have been configured to use this assembly. Our assembly will have WPF code inside of it, ready to show a window as it simultaneously drives forward the Burn engine. Clicking a button on our UI will call methods provided by BootstrapperCore. Simple, right? Let's dive into it.

Create a new C# Class Library project in Visual Studio and name it CustomBA. Once you have it, add a reference to BootstrapperCore.dll, which can be found in the WiX SDK directory. To use WPF, we'll also need ...

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.