light
$ light -help
Microsoft (R) Windows Installer Xml Linker version 2.0.5325.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.
usage: light.exe [-?] [-b basePath] [-nologo] [-out outputFile] objectFile [ob
jectFile ...]
-ai allow identical rows, identical rows will be treated as a warning
-au (experimental) allow unresolved references, will not create a vali
d output
-b base path to locate all files (default: current directory)
-cc path to cache built cabinets (will not be deleted after linking)
-ext extension (class, assembly), should extend SchemaExtension or Bind
erExtension
-fv add a 'fileVersion' entry to the MsiAssemblyName table (rarely nee
ded)
-i specify the base output path for uncompressed images (default: -ou
t parameter)
-loc read localization string sfrom .wxl file
-nologo skip printing light logo information
-notidy do not delete temporary files (useful for debugging)
-reusecab reuse cabinets from cabinet cache
-out specify output file (default: write to current directory)
-xo output xml instead of MSI format
-pedantic:<level> pedantic checks (levels: easy, heroic, legendary)
-reusecab reuse cabinets from cabinet cache
-sa suppress assemblies: do not get assembly name information for asse
mblies
-sacl suppress resetting ACLs (useful when laying out image to a network
share)
-sadmin suppress default admin sequence actions
-sadv suppress default adv sequence actions
-sa suppress assemblys: do not get assembly name information for assem
blies
-sf suppress files: do not get any file information (equivalent to -sa
and -sh)
-sh suppress file info: do not get hash, version, language, etc
-sl suppress layout
-ss suppress schema validation of documents (performance boost)
-sui suppress default UI sequence actions
-sv suppress intermediate file version mismatch checking
-ts tag sectionId attribute on tuples (ignored if not used with -xo)
-ust use small table definitions (for backwards compatiblity)
-wx treat warnings as errors
-w<N> set the warning level (0: show all, 3: show none)
-sw suppress all warnings (same as -w3)
-sw<N> suppress warning with specific message ID
-v verbose output (same as -v2)
-v<N> sets the level of verbose output (0: most output, 3: none)
-? this help information
Environment variables:
WIX_TEMP overrides the temporary directory used for cab creation, msm explo
ding, ...
Common extensions:
.wxs - Windows installer Xml Source file
.wxi - Windows installer Xml Include file
.wxl - Windows installer Xml Localization file
.wixobj - Windows installer Xml Object file (in XML format)
.wixlib - Windows installer Xml Library file (in XML format)
.wixout - Windows installer Xml Output file (in XML format)
.msm - Windows installer Merge Module
.msi - Windows installer Product Database
.mst - Windows installer Transform
.pcp - Windows installer Patch Creation Package
For more information see: http://wix.sourceforge.net