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

Light.exe

Light is the WiX linker and binder. Its job is to first resolve all of the references to files, directories, and so on that are stored in the .wixobj files (the linking phase) and then to stream all of that data into the MSI file, compressing it along the way (the binding phase). To see information about its usage type light -? at the command prompt; the following is what you should see:

light.exe [-?] [-b bindPath] [-nologo] 
[-out outputFile] objectFile [objectFile ...] [@responseFile]

You'll use the -out flag to give a name to the resulting MSI package. You must then reference all of the .wixobj files, either individually or with an asterisk (*). For example, this creates an MSI file out of three .wixobj files that are in the current ...

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