Book Image

WiX Cookbook

By : Nicholas Matthew Ramirez
1 (1)
Book Image

WiX Cookbook

1 (1)
By: Nicholas Matthew Ramirez

Overview of this book

WiX is a dialect of XML used to make installers for Windows. Its declarative style avoids the complexity and limitations of procedural code, providing you with everything you need to package up an entire application into a single MSI file. This book gives you a good overview of WiX's capabilities to develop your own installer packages with functionalities beyond those available in Windows Installer. In the recipes of this book, you will see ways in which WiX can cut down on your installation time and help you streamline your deployment processes. You will see how to make customized installer UIs, write custom actions, create shortcuts, and also set your application as the default for a file type.
Table of Contents (15 chapters)
14
Index

Updating programs and features to show a link to our company's website


We want to give a user every opportunity to get the most up-to-date information about our software. Programs and Features, which is where users can remove software from their system, is one place they might look for information. With WiX, we can customize how our software is displayed there and provide links to our company's website, a support page, and a page where users can find the latest downloads.

In this recipe, we will add three web page links for our software on the Programs and Features screen. Here is the end result:

Getting ready

To prepare for this recipe, perform the following steps:

  1. Create a new setup project and call it ProgramsAndFeaturesLinksInstaller.

  2. Add a text file to the project and name it Sample.txt so that our installer has something to install. Add a Component element and a File element to include the file in the installer:

    <ComponentGroup Id="ProductComponents" 
                    Directory="INSTALLFOLDER...