Troubleshooting Device Installation with the Setupapi log File



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

Troubleshooting Device Installation with the SetupAPI Log File -

Troubleshooting Device Installation with the SetupAPI Log File

October 6, 2003


Abstract


This paper provides information about debugging device installation for Microsoft® Windows® XP and later versions of the operating system. Specifically, the paper provides guidelines for driver developers and testers to interpret the SetupAPI log file.

Contents


1 How Is the SetupAPI Log File Organized? 3

2 Windows Installation Header Section 3

3 Device-Setup Class Installation Sections 4

4 Driver-Installation Sections 5

4.1 Initiating Driver Installation 6

4.2 Finding the Drivers That Match the Device 8

4.3 Loading Class Installers and Co-Installers 9

4.4 Selecting the Best Compatible Driver 10

4.5 Allowing Installation 11

4.6 Installing Files 11

4.7 Verifying Files and Pruning the File Queue 13

4.8 Committing the File Queue 14

4.9 Registering and Reloading Co-Installers 16

4.10 Installing Device Interfaces 16

4.11 Installing the Device 17

4.12 Finishing the Install Wizard 19

4.13 Cleaning Up 19

5 Device-Removal Sections 20

6 Common Device-Installation Problems 20

6.1 INF File Modified but Not Re-Signed 20

6.2 Driver Not Found 24

6.3 Rebooting Required 25

6.4 Device Vetoes Removal 26

6.5 Test Certificate Not Installed 27

6.6 Authenticode Certificate Not Installed 27

6.7 Driver File Unsigned 29

6.8 Service Deletion Pending 29

6.9 Protected System File Replaced 29

7 Appendix A: Setting the SetupAPI Logging Level 31

8 Appendix B: Message Formats 34

9 Appendix C: Section Markers 35

10 Appendix D: Definition of Example Placeholders 36

11 Call to Action and Resources 38




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