I'm following this extract from wixtoolset.org - Changing the WiX Standard Bootstrapper Application Branding as I'm using the HyperlinkSidebarLicense UI.
<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle>
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkSidebarLicense">
<bal:WixStandardBootstrapperApplication
LicenseUrl="License.htm"
LogoFile="path\to\customlogo.png" LogoSideFile="path\to\customsidelogo.png"
/>
</BootstrapperApplicationRef>
<Chain>
...
</Chain>
</Bundle>
</Wix>
However, I can't seem to find any reference to what size the PNG files need to be.
Has anyone worked with the bootstrapper before who can advise here?
The WiX Standard Bootstrapper Application contains a predefined user interface layout. It is possible to customize the layout using the WixStandardBootstrapperApplication element provided by WixBalExtension. The following example uses a "customtheme.xml" file found in the "path o" folder relative to the linker bind paths.
The overall size of the bootstrapper application window can be customized by changing the Width and Height attributes of the Window element within the theme along with modifying the size and/or position of all the controls. To view a theme file without having to build a bundle, you can use the ThmViewer.exe which is located in %WIX%\bin\.
Bootstrapper.wxs - Main file for generating the bootstrapper ( *.exe file) MakeBootstrapper.bat - Batch script to compile Bootstrapper.wxs file myAppSetup.msi - Example of .msi installer file for my app installation
Click ‘Add reference’ and browse to the WiX install path. (on my machine this is C:\Program Files (x86)\WiX Toolset v3.11\bin ). Next you need to add the theme files you want to use for layout.
According to the images included in the source, it looks like...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With