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" 
         Compressed="yes" 
         InstallScope="perMachine" />

In this recipe, we'll replace the default license text on the WixUI_Minimal wizard with ...

Get WiX Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.