IniFile Table

Windows Installer

IniFile Table

The IniFile table contains the .ini information that the application needs to set in an .ini file.

The IniFile table has the following columns.

Column Type Key Nullable
IniFile Identifier Y N
FileName FileName N N
DirProperty Identifier N Y
Section Formatted N N
Key Formatted N N
Value Formatted N N
Action Integer N N
Component_ Identifier N N

 

Columns

IniFile

The key for this table.

FileName

The localizable name of the .ini file in which to write the information.

DirProperty

Name of a property having a value that resolves to the full path of the folder containing the .ini file. The property can be the name of a directory in the Directory table, a property set by the AppSearch table, or any other property that represents a full path. If this field is left blank, the .ini file is created in the folder having the full path specified by the WindowsFolder property.

Section

The localizable .ini file section.

Key

The localizable .ini file key within the section.

Value

The localizable value to be written.

Action

The type of modification to be made.

Constant Hexadecimal Decimal Modification
msidbIniFileActionAddLine 0x000 0 Creates or updates a .ini entry.
msidbIniFileActionCreateLine 0x001 1 Creates a .ini entry only if the entry does not already exist.
msidbIniFileActionAddTag 0x003 3 Creates a new entry or appends a new comma-separated value to an existing entry.

 

Component_

External key into the first column of the Component table referencing the component that controls the installation of the .ini value.

 

Remarks

The .ini file information is written out when the corresponding component has been selected to be installed as local or run from source.

This table is referred to when the WriteIniValues action or the RemoveIniValues action is executed.

Validation

ICE03
ICE06
ICE32
ICE46
ICE69
ICE88
ICE91

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.