大网数据广告活动
安装更新与部署

RemoveIniFile Table

· 52CE 我爱测

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

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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。