IniFileSearch Element

Windows Installer XML

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 This attribute has been deprecated; please use the Name attribute instead.  
Name LongFileNameType In prior versions of the WiX toolset, this attribute specified the short name. This attribute's value may now be either a short or long name. If a short name is specified, the ShortName attribute may not be specified. If a long name is specified, the LongName attribute may not be specified. Also, if this value is a long name, the ShortName attribute may be omitted to allow WiX to attempt to generate a unique short name. However, if you wish to manually specify the short name, then the ShortName attribute may be specified. Yes
Section String The localizable .ini file section. Yes
ShortName ShortFileNameType The short name of the file in 8.3 format. This attribute should only be set if the user wants to manually specify the short name.  
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 must be one of the following:
directory
A directory location.
file
A file location. This is the default value.
raw
A raw .ini value.
 
See Also
Wix Schema, ComponentSearch, RegistrySearch