Have a personal or library account? Click to login
WiX Cookbook Cover

WiX Cookbook

Over 60 hands-on recipes packed with tips and tricks to boost your Windows installations

Paid access
|Sep 2025
Product purchase options

Key Features

    Book Description

    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.

    What you will learn

    • Install websites, application pools, and virtual directories in IIS
    • Add a wizard to your installer and customize it with your own dialogs
    • Set up new user accounts, add security groups, and secure files and folders on installation
    • Prevent deployment to unsupported systems by using launch conditions
    • Update XML files during installation
    • Configure shortcuts to your application
    • Include prerequisites with a bootstrapper
    • Create custom actions using C#
    • Add environment variables to the system

    Who this book is for

    If you are a developer with a good understanding of WiX projects and would like to further explore advanced WiX topics, this book is for you. To get the most out of this book, knowledge of proper XML syntax is recommended.

    Table of Contents

    1. Using WiX projects in Visual Studio 2013
    2. Installing files and directories
    3. File and folder permissions
    4. Shortcuts
    5. Editing XML files during install
    6. Custom actions
    7. Install wizards
    8. Users and groups
    9. Handling prerequisites
    10. Installing Web sites
    11. Linking to the Web
    12. Installing SQL databases
    13. Admin tasks
    PDF ISBN: 978-1-78439-940-5
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2025
    Language: English
    Pages: 260