O'Reilly logo

WiX 3.6: A Developer's Guide to Windows Installer XML by Nick Ramirez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required