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

Adding a web application to IIS


Inside a website, we can add two types of folders: virtual directories and web applications. Virtual directories simply map to folders outside our website's root. Web applications, on the other hand, are folders that can host entirely isolated modules. For example, we may develop a web application for a login page and another for a shopping cart. Their URLs might be mysite.com/Login and mysite.com/ShoppingCart. Each will get its own app domain to run in and could be completely oblivious to the other, with its own configuration, application pool, and worker process. However, to the end user, they will appear to be integrated parts of the same site.

Getting ready

To prepare for this recipe, perform the following steps:

  1. Create a new setup project and name it WebApplicationInstaller.

  2. Add IIsExtension to the project by right-clicking on the References node in Solution Explorer and going to Add Reference... | WixIIsExtension.dll | Add | OK.

  3. Add the IIsExtension namespace...