USB Printer install problem

D

DPM

Per the mfr's rec I'm using DPinst to install a USB printer's drivers.

On XPpro the sequence from setupapi is:

#-198 Command line processed: "E:\DYMO_LW400\lw\DPInst.exe"
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usbprint\dymolabelwriter_400585f,dymolabelwriter_400585f
#I022 Found "USBPRINT\DYMOLabelWriter_400585F" in
c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.inf;
Device: "DYMO LabelWriter 400"; Driver: "DYMO LabelWriter 400"; Provider:
"DYMO"; Mfg: "DYMO"; Section name: "LW_400".
#I023 Actual install section: [LW_400]. Rank: 0x00000000. Effective driver
date: 10/01/2007.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [LW_400] in
"c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.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_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [LW_400.Interfaces] from
"c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of
"USBPRINT\DYMOLABELWRITER_400\6&3638D5A8&0&USB001".
#I121 Device install of "USBPRINT\DYMOLABELWRITER_400\6&3638D5A8&0&USB001"
finished successfully.


Here's the same sequence from XPe:

#-198 Command line processed: C:\ifiles\dpinst.exe
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usbprint\dymolabelwriter_400585f,dymolabelwriter_400585f
#I022 Found "USBPRINT\DYMOLabelWriter_400585F" in
c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.inf;
Device: "DYMO LabelWriter 400"; Driver: "DYMO LabelWriter 400"; Provider:
"DYMO"; Mfg: "DYMO"; Section name: "LW_400".
#I023 Actual install section: [LW_400]. Rank: 0x00000000. Effective driver
date: 10/01/2007.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [LW_400] in
"c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.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_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [LW_400.Interfaces] from
"c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E154 Class installer failed. Error 1796: The specified port is unknown.

Notice that in the XPpro case line "#I123" the printer's entire PnP ID is
shown; not the case in the XPe version. Why, I wonder? Did the XPe Device
install function not do a PnP scan? The device is connected, that's for
sure.

I've run this under filemon, and I don't see dpinst trying to open files
that don't exist. I seems like under XPe the installer is not finding the
attached printer.

Any advice, anyone?
 
S

Sean Liming \(MVP\)

Do you have the help system enabled in XPe image? If not, then you will have
to enable it for the driver to work - in Target Designer, in the
configuration's Settings-> Go to other an uncheck the option that disables
help.

--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
DPM said:
Per the mfr's rec I'm using DPinst to install a USB printer's drivers.

On XPpro the sequence from setupapi is:

#-198 Command line processed: "E:\DYMO_LW400\lw\DPInst.exe"
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usbprint\dymolabelwriter_400585f,dymolabelwriter_400585f
#I022 Found "USBPRINT\DYMOLabelWriter_400585F" in
c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.inf;
Device: "DYMO LabelWriter 400"; Driver: "DYMO LabelWriter 400"; Provider:
"DYMO"; Mfg: "DYMO"; Section name: "LW_400".
#I023 Actual install section: [LW_400]. Rank: 0x00000000. Effective driver
date: 10/01/2007.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [LW_400] in
"c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.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_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [LW_400.Interfaces] from
"c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of
"USBPRINT\DYMOLABELWRITER_400\6&3638D5A8&0&USB001".
#I121 Device install of "USBPRINT\DYMOLABELWRITER_400\6&3638D5A8&0&USB001"
finished successfully.


Here's the same sequence from XPe:

#-198 Command line processed: C:\ifiles\dpinst.exe
#I060 Set selected driver.
#-019 Searching for hardware ID(s):
usbprint\dymolabelwriter_400585f,dymolabelwriter_400585f
#I022 Found "USBPRINT\DYMOLabelWriter_400585F" in
c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.inf;
Device: "DYMO LabelWriter 400"; Driver: "DYMO LabelWriter 400"; Provider:
"DYMO"; Mfg: "DYMO"; Section name: "LW_400".
#I023 Actual install section: [LW_400]. Rank: 0x00000000. Effective driver
date: 10/01/2007.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [LW_400] in
"c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.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_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [LW_400.Interfaces] from
"c:\windows\system32\drvstore\dymo_e59e033f2121fc650f1dcb5374320f47d902d54a\dymo.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#E154 Class installer failed. Error 1796: The specified port is unknown.

Notice that in the XPpro case line "#I123" the printer's entire PnP ID is
shown; not the case in the XPe version. Why, I wonder? Did the XPe
Device install function not do a PnP scan? The device is connected,
that's for sure.

I've run this under filemon, and I don't see dpinst trying to open files
that don't exist. I seems like under XPe the installer is not finding the
attached printer.

Any advice, anyone?
 

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