IniFileSearch Element

WiX Help

IniFileSearch Element

Description

Searches for file, directory or registry key and assigns to value of parent Property

Windows Installer references
IniLocator Table, Signature Table
Parents
ComplianceCheck, Property
Inner Text
None
Children
Choice of elements (min: 0, max: 1)
Attributes
Name Type Description Required
Id String External key into the Signature table. Yes
Field Integer The field in the .ini line. If field is Null or 0, the entire line is read.  
Key String The key value within the section. Yes
LongName LongFileNameType Long file name; set this attribute if preferred name is not in 8.3 format.  
Name ShortFileNameType File name of the file in 8.3 format, required for backwards compatibility.  
Section String The section name within the .ini file. Yes
Type Enumeration Must be file if last child is FileSearch element and must be directory if last child is DirectorySearch element. This attribute's value should be one of the following:
directory
A directory location.
file
A file location.
raw
A raw .ini value.
 
See Also
Wix Schema, ComponentSearch, RegistrySearch