Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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 |
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.
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.
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today