ClassInstall32 Section

The ClassInstall32 section installs a new class for a device in the class section of the registry.

[ClassInstall32]

AddReg=add-registry-section[,add-registry-section]...

Copyfiles=file-list-section[,file-list-section]...

Delfiles=file-list section[,file-list-section]...

DelReg=del-registry-section[,del-registry-section]...

Renfiles=file-list-section[,file-list-section]...

UpdateInis=update-ini-section[,update-ini-section]...

UpdateIniFields=update-inifields-section[,update-inifields-section]...

 

Not all the item types shown in the syntax above are needed or required. Typically, a ClassInstall32 section will use AddReg items to add a class description and a class icon to the registry.

Every device installed in Windows NT has a class associated with it even if the class is “Unknown.” Every device installed in Windows NT also has a class installer associated with it. In addition, a ClassInstall32 section can specify a property provider and exert control over how the class is handled in the user interface.

The installer processes the ClassInstall32 section if one of the devices defined in an INF file is about to be installed and the class is not built into Windows NT. The following hardware class names are built into Windows NT:

Display

Keyboard

Modem

Mouse

Ports

Printer

SCSI Adapter

Tape Drive

Unknown