Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

IniLocator Table

The IniLocator table holds the information needed to search for a file or directory using an .ini file or to search for a particular .ini entry itself. The .ini file must be present in the default Microsoft Windows directory.

The IniLocator table has the following columns.

ColumnTypeKeyNullable
Signature_ Identifier YN
FileName FileName NN
Section Text NN
Key Text NN
Field Integer NY
Type Integer NY

 

Columns

Signature_

An external key into the first column of the Signature table. The Signature_ represents a unique signature and is also the external key into column one of the Signature table. If this signature is present in the Signature table, then the search is for a file. If this key is absent from the Signature table, and the value of the Type column is msidbLocatorTypeRawValue, the search is for the .ini entry specified by the IniLocator table. Otherwise the search is for a directory specified by the IniLocator table.

FileName

The .ini file name.

Section

Section name within the .ini file.

Key

Key value within the section.

Field

The field in the .ini line. If Field is Null or 0, then the entire line is read. This must be a non-negative number.

Type

A value that determines whether the .ini value is a file location, a directory location, or raw .ini value.

The following table lists valid values. If absent, Type is set to be 1.

ConstantHexadecimalDecimalDescription
msidbLocatorTypeDirectory0x0000A directory location.
msidbLocatorTypeFileName0x0011A file location.
msidbLocatorTypeRawValue0x0022A raw .ini value.

 

Remarks

This table is used with the AppSearch Table.

This table's columns are generally not localized. If an author decides to search for products in multiple languages, then there can be a separate entry included in the table for each language.

Associated localized text for progress display or logging is specified in the ActionText table.

See Searching for Existing Applications, Files, Registry Entries or .ini File Entries.

Validation

ICE03
ICE06

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.