Skip to content

HarvestFolder element (Buildtools extension)

Harvest files from a folder.

Attributes

Id

string

Unique identifier for this harvest configuration. This value will generated if not specified.

SelfReg

wxs:YesNoTypeUnion

Capture self-registration for executable files during harvesting. Self-reg is only attempted when the attribute is set to ‘yes’. The default is ‘no’.

SelfRegExecutableArguments

string

Command-line arguments to pass to an executable when capturing self-registration. Ignored unless SelfReg attribute is ‘yes’.

SelfRegExtensions

string

Whitespace separated list of file extensions to capture self-registration. Ignored unless SelfReg attribute is ‘yes’. Default set of extensions is: .exe, .com, .dll, .ocx, .tlb, .olb

SelfRegWarnOnError

wxs:YesNoTypeUnion

Downgrade error messages encountered during self-registration capture to warnings. Ignored unless SelfReg attribute is ‘yes’. The default is ‘no’.

Source

string required

Root of folder to harvest relative to the harvesting document. If no wildcards are specified all files under the root are harvested. If any wildcard is specified only files matching the wildcard are included. For example, “content*.dat” will include all .dat files from the “content” folder beside the .wxs file.

Strategy

HarvestStrategyTypeUnion

Harvest strategy to apply.

SuppressFont

wxs:YesNoTypeUnion

Prevent automatically marking “.ttf” files as a font. The default is ‘no’.

Children

Parents