Chapter 9. Working from the Command Line

Creating an MSI file with WiX takes two steps: compiling your source files and then linking and binding them into a single package. A tool called Candle handles the compiling, transforming your .wxs files into .wixobj files. The linking and binding phases are handled by a tool called Light.

In this chapter, we'll discuss the following topics:

  • The arguments to use when calling Candle and Light from the command line
  • Compile-time and link-time variables
  • How to build an MSI without using Visual Studio

Candle.exe

Candle, the WiX compiler, can be run from the command line to build your WiX source files (.wxs). Behind the scenes, Visual Studio is really just calling this tool for you. Compiling a WiX source file creates ...

Get WiX 3.6: A Developer's Guide to Windows Installer XML now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.