using dpinst.exe to preinstall driverpackages on xp embedded

G

Guest

What is the prerequisites for using dpinst.exe to preinstall driver packages
to the driver store. Im using a HP T5720 running XP embedded. When I plugin a
usb-printer, after I have preinstalled the drivers into the driverstore, it
still asks for the drivers from the CD.

This is the entry from dpinst.log:

INFO: ****************************************
INFO: 05/15/2007 14:40:27
INFO: Windows XP
INFO: Product Version 2.0.0.0.
INFO: Architecture: X86.
INFO: Command Line: 'C:\pnpDrivers\hpdj450\DPInst.exe /LM'
INFO: ****************************************
INFO: Current working directory: 'C:\pnpDrivers\hpdj450'
INFO: Running on path 'C:\pnpDrivers\hpdj450'
INFO: No valid 'dpinst.xml' file provided.
INFO: Install option set: legacy mode on.
INFO: Found driver package: 'C:\pnpDrivers\hpdj450\hp450ka.inf'.
INFO: ENTER: DriverPackagePreinstallW
INFO: hp450ka.inf: Skipping DFX signature verification.
INFO: Copying 'hp450ka.inf' to driver store...
INFO: Copying 'hp450ka.cat' to driver store...
INFO: Copying 'hpwdntp0.dll' to driver store...
INFO: Copying 'hpwduih0.hlp' to driver store...
INFO: Copying 'hpwdcfg0.exe' to driver store...
INFO: Copying 'hpwdjui0.dll' to driver store...
INFO: Copying 'hpwdeng0.exe' to driver store...
INFO: Copying 'hpwdpre0.exe' to driver store...
INFO: Copying 'hpwdrpp0.dll' to driver store...
INFO: Copying 'hpwdvip0.dll' to driver store...
INFO: Copying 'hpwdr320.dll' to driver store...
INFO: Copying 'hpwdime0.dll' to driver store...
INFO: Copying 'hpwdflt0.dll' to driver store...
INFO: Copying 'hpwdres0.dll' to driver store...
INFO: Copying 'hpwd4500.dat' to driver store...
INFO: Copying 'hpwdsvb0.dll' to driver store...
INFO: Copying 'hpwd2ku0.dll' to driver store...
SUCCESS:c:\pnpdrivers\hpdj450\hp450ka.inf is preinstalled.
INFO: RETURN: DriverPackagePreinstallW (0x0)
INFO: ENTER: DriverPackageGetPathW
SUCCESS:Found driver store entry.
INFO: RETURN: DriverPackageGetPathW (0x0)
INFO: ENTER: DriverPackageInstallW
INFO: Installing INF file
"C:\WINDOWS\system32\DRVSTORE\hp450ka_522A071C3B83D608BD0CDD72528DF067DFAC12A3\hp450ka.inf" of Type 6.
INFO: Looking for Model Section [HP]...
INFO: Installing devices with Id "USBPRINT\hpdj4506CD8" using INF
"C:\WINDOWS\system32\DRVSTORE\hp450ka_522A071C3B83D608BD0CDD72528DF067DFAC12A3\hp450ka.inf".
INFO: Installation did not occur because the hardware isn't currently
present.
INFO: No drivers installed. No devices found that match driver(s)
contained in
'C:\WINDOWS\system32\DRVSTORE\hp450ka_522A071C3B83D608BD0CDD72528DF067DFAC12A3\hp450ka.inf'.
SUCCESS:Installation completed with code 0xE000020B.
INFO: RETURN: DriverPackageInstallW (0xE000020B)
INFO: No matching device was found for
'c:\pnpdrivers\hpdj450\hp450ka.inf'. Driver will be installed when plugged in.
INFO: Created entry in Add or Remove Programs for
'C:\WINDOWS\system32\DRVSTORE\hp450ka_522A071C3B83D608BD0CDD72528DF067DFAC12A3\hp450ka.inf'.
INFO: Returning with code 0x100
INFO: 05/15/2007 14:40:30

Entry from setupapi:

[2007/05/15 14:41:13 220.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{B9CD8042-7FD9-4526-ACD9-6E392F78167A}
#I060 Set selected driver.
#-019 Searching for hardware ID(s): usbprint\hpdj4506cd8,hpdj4506cd8
#I022 Found "USBPRINT\hpdj4506CD8" in C:\WINDOWS\inf\oem1.inf; Device: "hp
deskjet 450 printer"; Driver: "hp deskjet 450 printer"; Provider: "Hewlett
Packard"; Mfg: "HP"; Section name: "hpwd2ku0.dll".
#I023 Actual install section: [hpwd2ku0.dll]. Rank: 0x00000000. Effective
driver date: 08/01/2001.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [hpwd2ku0.dll] in
"c:\windows\inf\oem1.inf".
#I320 Class GUID of device remains: {4D36E979-E325-11CE-BFC1-08002BE10318}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#-167 SPFILENOTIFY_NEEDMEDIA: Tag = "", Description= "hp deskjet 450 printer
Disk 1", SourcePath = "c:\windows", SourceFile = "hpwd4500.dat", Flags =
0x00000000.
#E169 SPFILENOTIFY_NEEDMEDIA: returned FILEOP_ABORT. Error 1223: The
operation was canceled by the user.
#W187 Install failed, attempting to restore original files.
#E154 Class installer failed. Error 1223: The operation was canceled by the
user.

Any help would be great.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top