LIGHT - Creates an MSI file
Example:
> light myfile.wixobj
> light -ext WixUIExtension -ext WiXNetFxExtension -cultures:"en-US" installer\%PRODVERSION%\InforOptionsDlg.wixobj installer\%PRODVERSION%\InforUI_InstallDir.wixobj installer\%PRODVERSION%\en\gis.wixobj -loc %VMLABEL%\gis.en-US.wxl -o installer\%PRODVERSION%\en\gis.msi
Microsoft (R) Windows Installer Xml Linker version 3.0.4909.0
Copyright (C) Microsoft Corporation. All rights reserved.
usage: light.exe [-?] [-b basePath] [-nologo] [-out outputFile] objectFile [objectFile ...] [@responseFile]
-ai allow identical rows, identical rows will be treated as a warning
-au (experimental) allow unresolved references
(will not create a valid output)
-b <path> specify a base path to locate all files
(default: current directory)
-bcgg use backwards compatible guid generation algorithm
(almost never needed)
-bf bind files into a wixout (only valid with -xo option)
-cc <path> path to cache built cabinets (will not be deleted after linking)
-ct <N> number of threads to use when creating cabinets
(default: %NUMBER_OF_PROCESSORS%)
-cub <file.cub> additional .cub file containing ICEs to run
-cultures:<cultures> semicolon-delimited list of localized string cultures
to load from libraries
-d<name>[=<value>] define a wix variable, with or without a value.
-dcl:level set default cabinet compression level
(low, medium, high, none, mszip; mszip default)
-dut drop unreal tables from the output image
-ext <extension> extension assembly or "class, assembly"
-fv add a 'fileVersion' entry to the MsiAssemblyName table
(rarely needed)
-ice:<ICE> run a specific internal consistency evaluator (ICE)
-loc <loc.wxl> read localization strings from .wxl file
-nologo skip printing light logo information
-notidy do not delete temporary files (useful for debugging)
-o[ut] specify output file (default: write to current directory)
-pdbout <output.wixpdb> save the WixPdb to a specific file
(default: same name as output with wixpdb extension)
-pedantic show pedantic messages
-reusecab reuse cabinets from cabinet cache
-sa suppress assemblies: do not get assembly name information
for assemblies
-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
-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
-sice:<ICE> suppress an internal consistency evaluator (ICE)
-sl suppress layout
-sloc suppress localization
-sma suppress processing the data in MsiAssembly table
-spdb suppress outputting the WixPdb
-ss suppress schema validation of documents (performance boost)
-sts suppress tagging sectionId attribute on rows
-sui suppress default UI sequence actions
-sv suppress intermediate file version mismatch checking
-sval suppress MSI/MSM validation
-sw[N] suppress all warnings or a specific message ID
(example: -sw1009 -sw1103)
-swall suppress all warnings (deprecated)
-usf <output.xml> unreferenced symbols file
-v verbose output
-wx[N] treat all warnings or a specific message ID as an error
(example: -wx1009 -wx1103)
-wxall treat all warnings as errors (deprecated)
-xo output wixout format instead of MSI format
-? | -help this help information
Environment variables:
WIX_TEMP overrides the temporary directory used for cab creation, msm exploding, ...
For more information see: http://wix.sourceforge.net
Comments (0)
You don't have permission to comment on this page.