[<install-section-name>]
LogConfig = <log-config-section-name>[, <log-config-section-name>]...
Copyfiles=<file-list-section>[,<file-list-section>]...
Renfiles=<file-list-section>[,<file-list-section>]...
Delfiles=<file-list-section>[,<file-list-section>]...
UpdateInis=<update-ini-section>[,<update-ini-section>]...
UpdateIniFields=<update-inifields-section>[,<update-inifields-section>]...
AddReg=<add-registry-section>[,<add-registry-section>]...
DelReg=<del-registry-section>[,<del-registry-section>]...
Ini2Reg=<ini-to-registry-section>[,<ini-to-registry-section>]...
UpdateCfgSys=<update-config-section>
UpdateAutoBat=<update-autoexec-section>
Reboot | Restart
Identifies the additional sections in the INF file that contain descriptions of the device and instructions for installing files and information needed by the device driver(s). The name of the section, install-section-name, must be defined in a Device section that is associated with a Manufacturer section.
Not all the types of items shown in the preceding syntax are needed or required in an Install section. If an item type is used, it must specify the name of a section in the INF file. (An exception to this is the CopyFiles item, which may use the @ character along with a filename to copy a single file without specifying a section name.) The section name must consist of printable characters.
Only one of each type of item can be used in any one Install section. More than one section name can be listed in an item, but each additional name must be preceded with a comma.
The Reboot or Restart items can be added to an Install section to force the system to either restart or to reboot the machine after carrying out the Install section script.
This example shows a typical Install section. It contains a LogConfig item that identifies two logical configuration sections for this device. It also contains Copyfiles and AddReg items that identify the sections containing information about which files to install.
[SuperSCSI]
; SCSI Are Us Model 01 - SuperSCSI+
Log_Config = With_Dma, WithoutDMA
Copyfiles=MoveMiniPort, @SRSutil.exe
AddReg=MOD1
The CopyFiles item provides a special notation which will allow a single file to be copied directly from the copy line. An individual file can be copied by prefixing the file name with an @ symbol. The destination for any file copied using this notation will be the DefaultDestDir as defined in the DestinationDirs section. The following example shows how to copy individual files:
CopyFiles=FileSection1,@myfile.txt,@anotherfile.txt,LastSectionName