Identifies the additional sections in the INF that contain installation information for the component.
Not all the types of items shown in the syntax above 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. (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.
Naming the install section [DefaultInstall] will cause the install section to be executed when the "Install" verb is selected when the INF is right-clicked. It is also the section that is executed when selecting an INF as the setup option using the Cabpack wizard.
This example shows a typical Install section. It contains CopyFiles and AddReg items that identify the sections containing information about which files to install.
Note that in the above example, by renaming the [MyApplication] section to [DefaultInstall], this Install section would be executed when the "Install" verb is selected when right-clicking the INF.
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: