HEAT - Create wxs files from a directory structure as a first step in creating a WiX bases installer.
Creates a .wxs file referencing only the source code of a VB project:
>heat project DatasetViewer.vbproj -pog:Sources -out source.wxs -template:product -gg -sfrag -sreg
Creates an installer for the contents of "myfolder". When the installer is run it will install the contents of "myfolder" to \myfolder:
>heat dir .\myfolder -template:product -out myproduct.wxs -gg -v -sfrag -sreg
>candle myproduct.wxs
>light myproduct.wixobj
>myproduct.msi
Microsoft (R) Windows Installer Xml Toolset Harvester version 3.0.4909.0
Copyright (C) Microsoft Corporation. All rights reserved.
usage: heat.exe harvestType <harvester arguments> -out sourceFile.wxs
Supported harvesting types:
dir harvest a directory
file harvest a file
project harvest outputs of a VS project
website harvest an IIS web site
Options:
-ag autogenerate component guids at compile time
-gg generate guids now
-ke keep empty directories
-nologo skip printing heat logo information
-out specify output file (default: write to current directory)
-pog:<group>
specify output group of VS project, one of:
Binaries,Symbols,Documents,Satellites,Sources,Content
This option may be repeated for multiple output groups.
-scom suppress COM elements
-sfrag suppress fragments
-sreg suppress registry harvesting
-suid suppress unique identifiers for files, components, & directories
-sw<N> suppress all warnings or a specific message ID
(example: -sw1011 -sw1012)
-swall suppress all warnings (deprecated)
-t:<xsl> transform harvested output with XSL file
-template: use template, one of: fragment,module,product
-v verbose output
-wx[N] treat all warnings or a specific message ID as an error
(example: -wx1011 -wx1012)
-wxall treat all warnings as errors (deprecated)
-? | -help this help information
For more information see: http://wix.sourceforge.net
Comments (0)
You don't have permission to comment on this page.