WiX Burn 3.6 beta - custom UI examples
Asked Answered
F

2

14

Are there any good references/examples for WiX Burn 3.6 custom UI?

I googled around, but they are broken pieces of the information.

Filipe answered 15/11, 2011 at 12:41 Comment(1)
Here's an example: https://mcmap.net/q/104486/-wix-burn-custom-templateSweettempered
V
13

The WiX installer itself is a good example and the source is freely available via CodePlex (WiX 3.6 Beta). Check out the WixUX project, which is the bootstrapper for the WiX 3.6 install. Another Stack Overflow question is Custom WIX Burn Bootstrapper user interface?, describing how to get started.

Or if you get the latest weekly WiX releases, the project has been renamed to WixBA. See src\Setup\WixBA.

Votive answered 21/11, 2011 at 16:2 Comment(1)
It never occurred to me to get the source code for Wix itself. Duh!Litigation
H
3

Yes, they are scattered all over. I am using Visual Studio 2010 to maintain my Product.wxs with a separate WXS file for the UI. Basically I've downloaded WiX Edit to design the UI.

A good start is to download the WiX source which has WXS UI files you can load into WiX Edit to see how they work. You can download the source from here.

What I did was to copy one of the WixUI files to my project in Visual Studio 2010. When you download the source they can be found under wix36-sources\src\ext\UIExtension\wixlib. In here you will find:

  • WixUI_FeatureTree.wxs
  • WixUI_InstallDir.wxs
  • WixUI_Advanced.wxs
  • WixUI_InstallDir.wxs
  • WixUI_Minimal.wxs
  • WixUI_Mondo.wxs

You can tell from this the dialog flows. However there are the individual dialog files in here such as:

  • CancelDlg.wxs
  • BrowseDlg.wxs

You can load these into the Wix Edit to preview the dialog. You should get a better understanding.

Additionally, the main Wix Page can be found at Wix Toolset.

I have ordered the Wix book, WiX: A Developer's Guide to Windows Installer XML, from Amazon which I hope will help me understand this more. £30.99 in the UK. Hopefully, this book will be money well spent. There is one review with five stars so fingers crossed.

Hydrochloride answered 18/9, 2012 at 11:4 Comment(1)
It appears that you are answering about creating MSI UI using Wix. lannyboy was asking about customizing Burn UI, the bootstrapper that [typically] disables each bundled MSI's UI.Topdress

© 2022 - 2024 — McMap. All rights reserved.