Book Image

WiX Cookbook

By : Nicholas Matthew Ramirez
1 (1)
Book Image

WiX Cookbook

1 (1)
By: Nicholas Matthew Ramirez

Overview of this book

Table of Contents (20 chapters)
WiX Cookbook
About the Author
About the Reviewers

Adding a hyperlink control to a wizard dialog

WiX contains a hyperlink control to create a link on a dialog. It was introduced in Windows Installer 5.0, which is preinstalled on Windows 7, Windows Server 2008 R2, and later versions of Windows. On older systems, such as Windows XP, if you try to run an install package that uses a hyperlink, you'll get an error. If you'd like to prevent users from installing your MSI when they don't have the required version of Windows Installer, then add 500 (which stands for version 5.0) to the Package element's InstallerVersion attribute, as follows:

<Package InstallerVersion="500" 
         InstallScope="perMachine" />

In this recipe, we'll replace the default license text on the WixUI_Minimal wizard with a hyperlink to the GNU General Public License.


If you create an RTF file in WordPad to be used as your license agreement and type the URL of a web page, WordPad will underline it and convert it to a hyperlink. However...