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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access