To set the logging level for an individual device-installation program
If the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\AppLogLevels registry subkey does not exist, create it.
In the subkey, create a new entry as a REG_DWORD value, and name it with the file name of the application's executable program.
Set the value of the entry to the logging level that you want.
The logging level is composed of three parts: the general logging level, the device-installation logging level, and a set of special flags. You can think of the logging level as represented by 0xSSSSDDGG. The lowest 8 bits(GG) contain the general logging level, which controls the types of messages that are logged by the Windows Setup functions. The next higher 8 bits (DD) contain the device-installation logging level, which controls the types of messages that are logged by the device-installation functions. The highest 16 bits (SSSS) contain the special flags, which apply to logging by both the Windows Setup functions and the device-installation functions.
The following table describes the general logging levels.
Share with your friends: |