DriverPackageInstall returns ERROR_NO_SUCH_DEVINST

Hi, I am trying to pre-install driver service (without physical hardware being connected) using DriverPackageInstall. When called without the flag,...
DriverPackageInstall returns ERROR_NO_SUCH_DEVINST
Hi,
I am trying to pre-install driver service (without physical hardware
being connected) using DriverPackageInstall. When called without the flag,
DRIVER_PACKAGE_ONLY_IF_DEVICE_PRESENT, DriverPackageInstall is not supposed
return ERROR_NO_SUCH_DEVINST (See here,
http://msdn.microsoft.com/en-us/library/ms790275.aspx). However, it does as
seen the output below. Is this bug in DriverPackageInstall or is my
understanding of its behavior incorrect?

Thanks in advance,
Ashish Hanwadikar

C:\Documents and Settings\Administrator>difxcmd /i
"C:\WINDOWS\system32\DRVSTORE
\vmscsi_1F0D7AE8E97213B3F8A4DB9AB5FB989AA2852327\v mscsi.inf" 0
DIFxAPI Sampe Program
INFO: Option "/i"
INFO: Input file
"C:\WINDOWS\system32\DRVSTORE\vmscsi_1F0D7AE8E9721 3B3F8A4DB9AB5
FB989AA2852327\vmscsi.inf"
INFO: Flags 0x0 (0)

TEST: installing driver package.
LOG Event: 1, ENTER: DriverPackageInstallW
LOG Event: 1, vmscsi.inf: checking signature with catalog
‘C:\WINDOWS\system32\D
RVSTORE\vmscsi_1F0D7AE8E97213B3F8A4DB9AB5FB989AA28 52327\vmscsi.cat’ …
LOG Event: 1, Driver package ‘vmscsi.inf’ is WHQL signed.
LOG Event: 1, Installing INF file
‘C:\WINDOWS\system32\DRVSTORE\vmscsi_1F0D7AE8E
97213B3F8A4DB9AB5FB989AA2852327\vmscsi.inf’ of Type 6.
LOG Event: 1, Looking for Model Section [VMware.Mfg]…
LOG Event: 1, No matching devices found in INF
"C:\WINDOWS\system32\DRVSTORE\vms
csi_1F0D7AE8E97213B3F8A4DB9AB5FB989AA2852327\vmscs i.inf" on the Machine.
LOG Event: 1, No drivers installed. No devices found that match driver(s)
contai
ned in
‘C:\WINDOWS\system32\DRVSTORE\vmscsi_1F0D7AE8E9721 3B3F8A4DB9AB5FB989AA285
2327\vmscsi.inf’.
LOG Event: 0, Installation completed with code 0xE000020B.
LOG Event: 1, RETURN: DriverPackageInstallW (0xE000020B)
INFO: There aren’t any live devnodes with the DeviceId contained in the INF.

We will be happy to hear your thoughts

Leave a reply

TechEggs
Logo