Printer driver installation problem

C

Chip

Hi,

I need to create an XPE image that will allow the user to install any
printer drivers they wish. In my configuration I already included Device
Printer, Class Installer-Printers, IEEE 1284.4 compatible printers, IEEE 1394
and SCSI printers, Class Install Library-printui, Printer Common #1, and
Class Installer-Ports(COM, LPT) components. After the XPE booted up, I used
Add Printer to install the hp deskjet 920C printer driver manually. When I
click Finish button at the last page (with title "Completing the Add Printer
Wizard) of Add Printer Wizard. I got the error message "Printer driver was
not installed. Operation could not be completed.". Printer test page could
not be printed out. Then I looked into setupapi.log file and I found the
following message and not quite sure how to fix this problem.

[2008/01/08 21:16:46 844.3 Driver Install]
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:16:48 464.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{E4C5EF54-2A38-48F7-A26A-6E95E3B6BDA6}
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:18:43 844.3 Driver Install]
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:18:45 1356.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{906FE8C0-850C-481F-BA71-36C11F9D7ECC}
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#I022 Found "LPTENUM\HEWLETT-PACKARDDESKJ8EEF" in
c:\dj920\2kxpinf\enu\drivers\win2k_xp\hpf920k.inf; Device: "hp deskjet 920c
series"; Driver: "hp deskjet 920c series"; Provider: "Hewlett-Packard"; Mfg:
"Hewlett-Packard"; Section name: "hp_Install_PnP".
#I023 Actual install section: [hp_Install_PnP]. Rank: 0x00000000. Effective
driver date: 09/19/2001.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#E154 Class installer failed. Error 2: The system cannot find the file
specified.
#I060 Set selected driver.
#I125 Installing NULL driver for
"LPTENUM\HEWLETT-PACKARDDESKJET_920C\5&1331615A&0&LPT1.4".
#I121 Device install of
"LPTENUM\HEWLETT-PACKARDDESKJET_920C\5&1331615A&0&LPT1.4" finished
successfully.

Thanks.
 
A

Andrew Chou

You might want to double check if you have "ECP Printer Port" and "USB
Printing Support" components included in your build.

Chip said:
Hi,

I need to create an XPE image that will allow the user to install any
printer drivers they wish. In my configuration I already included Device
Printer, Class Installer-Printers, IEEE 1284.4 compatible printers, IEEE 1394
and SCSI printers, Class Install Library-printui, Printer Common #1, and
Class Installer-Ports(COM, LPT) components. After the XPE booted up, I used
Add Printer to install the hp deskjet 920C printer driver manually. When I
click Finish button at the last page (with title "Completing the Add Printer
Wizard) of Add Printer Wizard. I got the error message "Printer driver was
not installed. Operation could not be completed.". Printer test page could
not be printed out. Then I looked into setupapi.log file and I found the
following message and not quite sure how to fix this problem.

[2008/01/08 21:16:46 844.3 Driver Install]
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:16:48 464.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{E4C5EF54-2A38-48F7-A26A-6E95E3B6BDA6}
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:18:43 844.3 Driver Install]
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:18:45 1356.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{906FE8C0-850C-481F-BA71-36C11F9D7ECC}
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#I022 Found "LPTENUM\HEWLETT-PACKARDDESKJ8EEF" in
c:\dj920\2kxpinf\enu\drivers\win2k_xp\hpf920k.inf; Device: "hp deskjet 920c
series"; Driver: "hp deskjet 920c series"; Provider: "Hewlett-Packard"; Mfg:
"Hewlett-Packard"; Section name: "hp_Install_PnP".
#I023 Actual install section: [hp_Install_PnP]. Rank: 0x00000000. Effective
driver date: 09/19/2001.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#E154 Class installer failed. Error 2: The system cannot find the file
specified.
#I060 Set selected driver.
#I125 Installing NULL driver for
"LPTENUM\HEWLETT-PACKARDDESKJET_920C\5&1331615A&0&LPT1.4".
#I121 Device install of
"LPTENUM\HEWLETT-PACKARDDESKJET_920C\5&1331615A&0&LPT1.4" finished
successfully.

Thanks.
 
K

khee.shin

Hi,

I need to create anXPEimage that will allow the user to install any
printer drivers they wish. In my configuration I already included Device
Printer, Class Installer-Printers, IEEE 1284.4 compatible printers, IEEE 1394
and SCSI printers, Class Install Library-printui, Printer Common #1, and
Class Installer-Ports(COM, LPT) components. After theXPEbooted up, I usedAdd Printerto install the hp deskjet 920C printer driver manually. When I
click Finish button at the last page (with title "Completing theAdd Printer
Wizard) ofAdd PrinterWizard. I got the error message "Printer driver was
not installed. Operation could not be completed.". Printer test page could
not be printed out. Then I looked into setupapi.log file and I found the
following message and not quite sure how to fix this problem.

[2008/01/08 21:16:46 844.3 Driver Install]
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:16:48 464.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{E4C5EF54-2A38-48F7-A26A-6E95E3B6BDA6}
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:18:43 844.3 Driver Install]
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-198 Command line processed: C:\WINDOWS\system32\services.exe
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
[2008/01/08 21:18:45 1356.2]
#-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line:
rundll32.exe newdev.dll,ClientSideInstall
\\.\pipe\PNP_Device_Install_Pipe_0.{906FE8C0-850C-481F-BA71-36C11F9D7ECC}
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#W059 Selecting best compatible driver failed. Error 0xe0000228: There are
no compatible drivers for this device.
#W157 Default installer failed. Error 0xe0000228: There are no compatible
drivers for this device.
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#-019 Searching for hardware ID(s):
lptenum\hewlett-packarddeskj8eef,hewlett-packarddeskj8eef
#I022 Found "LPTENUM\HEWLETT-PACKARDDESKJ8EEF" in
c:\dj920\2kxpinf\enu\drivers\win2k_xp\hpf920k.inf; Device: "hp deskjet 920c
series"; Driver: "hp deskjet 920c series"; Provider: "Hewlett-Packard"; Mfg:
"Hewlett-Packard"; Section name: "hp_Install_PnP".
#I023 Actual install section: [hp_Install_PnP]. Rank: 0x00000000. Effective
driver date: 09/19/2001.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#E154 Class installer failed. Error 2: The system cannot find the file
specified.
#I060 Set selected driver.
#I125 Installing NULL driver for
"LPTENUM\HEWLETT-PACKARDDESKJET_920C\5&1331615A&0&LPT1.4".
#I121 Device install of
"LPTENUM\HEWLETT-PACKARDDESKJET_920C\5&1331615A&0&LPT1.4" finished
successfully.

Thanks.

Did you clear this issue?
If you did, please give some tips..

I have this trouble like you have, so I am almost mad.. :-(
Is anybody who know this? Please help ~ !
 

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