-
Book Overview & Buying
-
Table Of Contents
WiX Cookbook
By :
The wizards that you get with the WiX toolset are great for getting started but probably aren't a perfect fit for the information you hope to collect or display to the user. As you might expect, we can customize them so that they include our own custom screens. For example, if you want to collect a username and password from the user, you can add a screen that asks for this information and stores it in WiX properties.
The WixUI_Minimal wizard, which we've used in the previous recipes, has only one screen so it's ill-suited for customization. Let's use WixUI_InstallDir instead. It starts out with a license agreement dialog, followed by a dialog that lets the user change the installation directory, and ends with a screen that asks whether they're satisfied with their changes and provides an Install button. We will insert a dialog that's mostly blank but includes the Next, Back, and Cancel buttons. You'll be able to use this template...
Change the font size
Change margin width
Change background colour