Troubleshooting Device Installation with the Setupapi log File


Installing Files: Verbose Logging



Download 331.5 Kb.
Page17/49
Date10.02.2021
Size331.5 Kb.
#55795
1   ...   13   14   15   16   17   18   19   20   ...   49
setupapilog

4.6.1Installing Files: Verbose Logging


By examining the verbose messages in the installing-files subsection, you can determine whether a problem exists in an INF file’s file-list-section, DestinationDirs section, SourceDisksFiles section, or SourceDisksNames section. The following example illustrates what the first part of this subsection looks like for a Blender device; this part includes messages that specify the INF files and installation sections that SetupAPI processes to determine the files to add to the file queue.

@ 10:18:25.781 #V166 Device install function: DIF_INSTALLDEVICEFILES.

@ 10:18:25.781 #T152 Executing class installer.

@ 10:18:25.781 #V153 Completed class installer.

@ 10:18:25.781 #V155 Executing default installer.

@ 10:18:25.781 #T200 Install Device: Begin.

@ 10:18:25.781 #V124 Doing copy-only install of

"Blender_Device_Instance_ID".

@ 10:18:25.781 #V005 Opened the PNF file of…

@ 10:18:25.781 #V005 Opened the PNF file of…

@ 10:18:25.796 #V011 Installing section [Blender_install-section-name] from "e:\windows\inf\Blender_INF_File_Name.inf".

@ 10:18:25.796 #T203 Install Device: Queuing files from INF(s).

@ 10:18:25.796 #V005 Opened the PNF file of…
In the previous example, the #V166 message indicates that SetupAPI initiated the processing of the DIF_INSTALLDEVICEFILES request for the device. The #T153 message indicates that a class installer completed the request, the #V155 message indicates that the default installer is processing the request, and the #V124 message indicates that a copy-only installation of the Blender device is occurring. The remaining messages indicate that the default installer is queuing the files that are specified by the INF files for the Blender device.

The following example contains the next sequence of messages in the installing-files subsection; these messages indicate the specific device files (in this case, only blender.sys) that SetupAPI is queuing for copying.

@ 10:18:25.796 #V094 Queued copy from section [Blender_install-section-name.CopyFiles] in "e:\windows\inf\Blender_INF_File_Name.inf: "blender.sys" to "blender.sys" with flags 0x80000024, target directory is "E:\WINDOWS\System32\DRIVERS".

@ 10:18:25.796 #V096 Source in section [sourcedisksfiles] in "e:\windows\inf\layout.inf"; Media=1 Description="Windows XP Professional CD-ROM" Tag="\win51ip" Path="\i386". Driver cache will be used.

@ 10:18:25.796 #T204 Install Device: Queuing coinstaller files from INF(s).

@ 10:18:25.796 #V005 Opened the PNF file of "e:\windows\inf\Blender_INF_File_Name.inf" (Language = 0409).

@ 10:18:25.796 #V005 Opened the PNF file of "e:\windows\inf\layout.inf" (Language = 0409).
In the previous example, the #V094 message identifies the CopyFiles section, the INF file, the blender.sys file, and the target directory. The #V096 message contains the location of the source file, and the #T204 through #V005 messages indicate that the queuing of the co-installer files is starting.

The following example illustrates the final sequence of messages that SetupAPI adds to an installing-files subsection. These messages indicate the co-installer and interface sections that SetupAPI processes to determine the files to queue for copying.

#-046 Processing Coinstaller registration section [Blender_install-section-name.CoInstallers].

@ 10:18:25.812 #V056 Coinstallers registered.

@ 10:18:25.812 #V011 Installing section [Blender_install-section-name.Interfaces] from "e:\windows\inf\Blender_INF_File_Name.inf".

@ 10:18:25.812 #V054 Interfaces installed.

@ 10:18:25.812 #V121 Device install of "Blender_Device_Instance_ID" finished successfully.

@ 10:18:25.812 #T201 Install Device: End.

@ 10:18:25.812 #V156 Completed default installer.
In the previous example, the #-046 message indicates the Blender_install-section-name.CoInstallers section, and the #V011 message indicates the Blender_install-section-name.Interfaces section.


Download 331.5 Kb.

Share with your friends:
1   ...   13   14   15   16   17   18   19   20   ...   49




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

    Main page