Troubleshooting Device Installation with the Setupapi log File


Device-Setup Class Installation Sections



Download 331.5 Kb.
Page5/49
Date10.02.2021
Size331.5 Kb.
#55795
1   2   3   4   5   6   7   8   9   ...   49
setupapilog

3Device-Setup Class Installation Sections


The device-setup class installation sections, which immediately follow the Windows installation header section, record the installation of the system-supplied device-setup classes. SetupAPI adds these sections to the log file during the GUI-mode setup phase of Windows installation.

The following example contains two sections that illustrate the default messages logged by SetupAPI:

[2003/05/22 16:35:47 336.12]

#-199 Executing "C:\WINDOWS\system32\setup.exe" with command line: setup –newsetup

#I140 Installing Device Class: "1394" {6BDD1FC1-810F-11D0-BEC7-08002BE2092F}.

#I141 Class install completed with no errors.

[2003/05/22 16:35:48 336.15]

#-199 Executing "C:\WINDOWS\system32\setup.exe" with command line: setup –newsetup

#I140 Installing Device Class: "Battery" {72631e54-78a4-11d0-bcf7-00aa00b7b32a}.

#I141 Class install completed with no errors


The two lines in the example that contain the time stamps are the section markers. Each #199 message indicates that SetupAPI installed a device-setup class by executing the setup -newsetup command line, which in turn indicates that the device-setup class was installed during the GUI-mode setup phase of Windows installation. The #I140 messages specify the GUIDs of the device-setup classes.

If an error occurs, SetupAPI does not log a #I141 message. Instead, it logs a #E142 error message that identifies the device-setup class GUID and the cause of the error. Here is an example of such an error message:

#E142 Class: {FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFF}. Install failed. Error 1168: Element not found.
Note

If anyone deletes the SetupAPI log file after Windows has been installed, Windows creates a new SetupAPI log file and adds a Windows installation header section to it. Therefore, the new log file will not contain any of the sections that SetupAPI added during the GUI-mode setup phase of Windows installation.


Note

Many of the examples in this paper contain placeholders, which appear in italics. For the definitions of these placeholders, see Appendix D: Definition of Example Placeholders.




Download 331.5 Kb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   49




The database is protected by copyright ©ininet.org 2024
send message

    Main page