Referencing the UI in a Burn bundle

When you compile the CustomBA project you should see the CustomBA.dll, the Prism library assemblies, and the CoreBootstrapper.config file copied to the output folder. You could either copy these files to a new bootstrapper project or add CustomBA as a project reference. Then you'll be able to use preprocessor variables to reference the files you need in Bundle.wxs.

Create a new project in Visual Studio using the Bootstrapper Project template and call it MyBootstrapper. Add CustomBA as a project reference. Next, update the markup in the Bundle.wxs file in the bootstrapper project to contain the following code:

<?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Bundle ...

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.