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 Name="MyBootstrapper" Version="1.0.0.0" Manufacturer="WiX Tests" UpgradeCode="416b6bbf-2beb-4187-9f83-cdb764db2840"> <BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost...