RemoveIniFile Table

Windows Installer

RemoveIniFile Table

The RemoveIniFile table contains the information an application needs to delete from a .ini file.

The RemoveIniFile table has the following columns.

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

 

Columns

RemoveIniFile

The key for this table.

FileName

The .ini file name in which to delete the information.

DirProperty

Name of a property whose value is assumed to resolve to the full path to the folder of the .ini file to be removed. 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.

Section

The localizable .ini file section.

Key

The localizable .ini file key below the section.

Value

The localizable value to be deleted. The value is required when Action is 4.

Action

The type of modification to be made.

Constant Hexadecimal Decimal Meaning
msidbIniFileActionRemoveLine 0x002 2 Deletes .ini entry.
msidbIniFileActionRemoveTag 0x004 4 Deletes a tag from a .ini entry.

 

Component_

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

 

Remarks

The .ini file information is deleted when the corresponding Component has been selected to be installed, either locally or run from source.

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

If the Directory_ column is specified as null, the ini file location is the standard Windows ini location which is the Windows directory by default.

Removing the last value from a section deletes that section. There is no other way to delete an entire section other than removing all its values.

Validation

ICE03
ICE06
ICE32
ICE40
ICE46
ICE69

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.