Chapter 1. Organizing and Building WiX Projects

In this chapter, we will cover the following topics:

  • Installing WiX and creating a new project in Visual Studio 2013
  • Referencing the output of a .NET console application in a WiX project by using a preprocessor variable
  • Separating a portion of WiX markup into its own library
  • Compiling a WiX installer on a build machine using MSBuild
  • Building a WiX installer from the command line

Introduction

The trouble with any bit of code is handling the logistics of getting it from development to production. How do we work on it in our favorite IDE initially and then allow it to be built elsewhere? Perhaps on a build server that doesn't have access to the IDE?

WiX solves this problem for its own code by allowing it to ...

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.