Upravit

DEVPKEY_DeviceClass_SilentInstall

The DEVPKEY_DeviceClass_SilentInstall device property represents a Boolean flag that controls whether devices in a device setup class should be installed, if possible, without displaying any user interface items.

Attribute Value

Property key

DEVPKEY_DeviceClass_SilentInstall

Property-data-type identifier

DEVPROP_TYPE_BOOLEAN

Property access

Read-only access by installation applications and installers

Corresponding registry value name

SilentInstall

Localized?

No

Remarks

If the value of DEVPKEY_DeviceClass_SilentInstall is set to DEVPROP_TRUE, Windows installs a driver for a device without displaying any user interface items if the driver is already preinstalled in the driver store. Otherwise, Windows does not suppress the display of user interface items.

The SilentInstall registry value for a device setup class can be set by an INF AddReg directive that is included in the INF ClassInstall32 section of the INF file that installs the class.

You can call CM_Get_Class_Property or SetupDiGetClassProperty to retrieve the value of DEVPKEY_DeviceClass_SilentInstall.

Windows Server 2003, Windows XP, and Windows 2000 support this property, but do not support the DEVPKEY_DeviceClass_SilentInstall property key. You can access the value of this property by accessing the corresponding SilentInstall registry value under the class registry key. For information about how to access value entries under the class registry key, see Accessing Registry Entry Values Under the Class Registry Key.

Requirements

Version: Windows Vista and later versions of Windows Header: Devpkey.h (include Devpkey.h)

See also

INF AddReg Directive

INF ClassInstall32 Section

SetupDiGetClassProperty