简单讲和文本文件没什么差别,不过存取要方便得多 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 Text N DirProperty Identifier Y Section Formatted N Key Formatted N Value Formatted N Action Integer N Component_ Identifier 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.
INF File Format Reference The following sections describe the syntax and meaning of the items used in each type of INF file section. INF files must follow these general rules: Sections begin with the section name enclosed in brackets. A Version section must be included in any INF file formatted for Windows 95 and Windows NT 4.0. The Version section contains information about the INF file itself. Values may be expressed as replaceable strings using the form %strkey%. To use a % character in the string, use %%. The strkey must be defined in a Strings section of the INF file. The following INF sections can be used with the setup functions to create an installation application. For information about INF sections used to install device drivers see the DDK Programmer's Guide.[Version] [Install] [Add Registry] [Copy Files] [Delete Registry] [Delete Files] [INI File to Registry] [Rename Files] [Update INI Fields] [Update INI File] [Services] [Service Install] [DestinationDirs] [SourceDisksFiles] [SourceDisksNames] [EventLog Install] [Strings]
我只知道这么一点
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 Text N
DirProperty Identifier Y
Section Formatted N
Key Formatted N
Value Formatted N
Action Integer N
Component_ Identifier 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.
The following sections describe the syntax and meaning of the items used in each type of INF file section. INF files must follow these general rules: Sections begin with the section name enclosed in brackets.
A Version section must be included in any INF file formatted for Windows 95 and Windows NT 4.0. The Version section contains information about the INF file itself.
Values may be expressed as replaceable strings using the form %strkey%. To use a % character in the string, use %%. The strkey must be defined in a Strings section of the INF file.
The following INF sections can be used with the setup functions to create an installation application. For information about INF sections used to install device drivers see the DDK Programmer's Guide.[Version]
[Install]
[Add Registry]
[Copy Files]
[Delete Registry]
[Delete Files]
[INI File to Registry]
[Rename Files]
[Update INI Fields]
[Update INI File]
[Services]
[Service Install]
[DestinationDirs]
[SourceDisksFiles]
[SourceDisksNames]
[EventLog Install]
[Strings]