Error : The system cannot find the path specified."

T

tp

Slobodan,
My image functions just fine. I have problems when adding a Printer.
I receive the error message "The following hardware was installed
Printer. An error occurred during the installation of the device. The
system cannot find the path specified." I have disable the IIS.inf and
the contents of the setupapi log file are:

#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\msctfp.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\msctfp.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\msctfp.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\msctfp.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\msutb.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\msutb.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\msutb.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\msutb.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\msimtf.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\msimtf.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\msimtf.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\msimtf.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%10%\ime\mscandui.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\ime\mscandui.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\ime\mscandui.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\ime\mscandui.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%10%\ime\sptip.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\ime\sptip.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\ime\sptip.dll". Error
126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\ime\sptip.dll". Error
126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%10%\ime\softkbd.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\ime\softkbd.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\ime\softkbd.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\ime\softkbd.dll". Error
126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\DVDUpgrd.exe", flags: 0x0000, timeout: 180s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\DVDUpgrd.exe").
#E090 Failed to create a process for the OLE Server
"C:\WINDOWS\System32\DVDUpgrd.exe" with arguments "/setup". Error 2:
The system cannot find the file specified.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\osuninst.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\osuninst.dll").
#W091 SPFILENOTIFY_STARTREGISTRATION: returned FILEOP_SKIP.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnet.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnet.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpnet.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnet.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnwsock.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnwsock.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnwsock.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnwsock.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnmodem.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnmodem.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnmodem.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnmodem.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnaddr.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnaddr.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpnaddr.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnaddr.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnhpast.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnhpast.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnhpast.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnhpast.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnhupnp.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnhupnp.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnhupnp.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnhupnp.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnlobby.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnlobby.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnlobby.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnlobby.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpvoice.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpvoice.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpvoice.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpvoice.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpvvox.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpvvox.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpvvox.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpvvox.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpvacm.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpvacm.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpvacm.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpvacm.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dplayx.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dplayx.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dplayx.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dplayx.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\rundll32.exe", flags: 0x0000, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\rundll32.exe").
#W091 SPFILENOTIFY_STARTREGISTRATION: returned FILEOP_SKIP.
[2004/12/29 05:42:51 756.5]
#-198 Command line processed:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
-enable
#-035 Processing service Add/Delete section [StateService.Uninstall].
#E376 Failed to lock service control manager. Lock acquired by ".\NT
Service Control Manager" for 44s.
#E251 Delete Services: Failed to open and lock service control manager.
Error 1055: The service database is locked.
#E033 Error 1055: The service database is locked.
#E275 Error while installing services. Error 1055: The service database
is locked.
[2004/12/29 20:59:03 428.264]
#-198 Command line processed: "C:\WINDOWS\system32\rundll32.exe"
shell32.dll,Control_RunDLL "C:\WINDOWS\System32\hdwwiz.cpl",Add
Hardware
#-166 Device install function: DIF_INSTALLWIZARD.
#E154 Class installer failed. Error 126: The specified module could not
be found.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#E154 Class installer failed. Error 3: The system cannot find the path
specified.
#I060 Set selected driver.
#I125 Installing NULL driver for "ROOT\PRINTER\0000".
#E122 Device install failed. Error 0xe0000219: The installation failed
because a function driver was not specified for this device instance.
Thanks for all your help.
 
S

Slobodan Brcin \(eMVP\)

Tabitha,

Please leave iis.inf file in your image. There is no need to delete it.
Now if I understand correctly you are trying to manually install printer to your post FBA image and it fails, right?

If so then before you do installation you should:
1. Delete setupapi.log so we can have a clean view to what happened.
2. Use filemon, regmon to see what happens.
3. Use dependency walker in XPe on all files that are troubled in setupapi.log and see if all binary dependencies are in your image.

Please do this, then we can go from there.

Regards,
Slobodan




tp said:
Slobodan,
My image functions just fine. I have problems when adding a Printer.
I receive the error message "The following hardware was installed
Printer. An error occurred during the installation of the device. The
system cannot find the path specified." I have disable the IIS.inf and
the contents of the setupapi log file are:

#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\msctfp.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\msctfp.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\msctfp.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\msctfp.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\msutb.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\msutb.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\msutb.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\msutb.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\msimtf.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\msimtf.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\msimtf.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\msimtf.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%10%\ime\mscandui.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\ime\mscandui.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\ime\mscandui.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\ime\mscandui.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%10%\ime\sptip.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\ime\sptip.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\ime\sptip.dll". Error
126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\ime\sptip.dll". Error
126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%10%\ime\softkbd.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\ime\softkbd.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\ime\softkbd.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\ime\softkbd.dll". Error
126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\DVDUpgrd.exe", flags: 0x0000, timeout: 180s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\DVDUpgrd.exe").
#E090 Failed to create a process for the OLE Server
"C:\WINDOWS\System32\DVDUpgrd.exe" with arguments "/setup". Error 2:
The system cannot find the file specified.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\osuninst.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\osuninst.dll").
#W091 SPFILENOTIFY_STARTREGISTRATION: returned FILEOP_SKIP.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnet.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnet.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpnet.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnet.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnwsock.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnwsock.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnwsock.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnwsock.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnmodem.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnmodem.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnmodem.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnmodem.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnaddr.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnaddr.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpnaddr.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnaddr.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnhpast.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnhpast.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnhpast.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnhpast.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnhupnp.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnhupnp.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnhupnp.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnhupnp.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpnlobby.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpnlobby.dll").
#E089 Failed to load the OLE Control
"C:\WINDOWS\System32\dpnlobby.dll". Error 126: The specified module
could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpnlobby.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpvoice.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpvoice.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpvoice.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpvoice.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpvvox.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpvvox.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpvvox.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpvvox.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dpvacm.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dpvacm.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dpvacm.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dpvacm.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\dplayx.dll", flags: 0x0001, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\dplayx.dll").
#E089 Failed to load the OLE Control "C:\WINDOWS\System32\dplayx.dll".
Error 126: The specified module could not be found.
#E291 Failed to register OLE server "C:\WINDOWS\System32\dplayx.dll".
Error 126: The specified module could not be found.
#-290 Processing REGISTERDLLS section [OleControlDlls]. Binary:
"%11%\rundll32.exe", flags: 0x0000, timeout: 60s.
#W374 Digital signature verification was skipped for a file being
registered ("C:\WINDOWS\System32\rundll32.exe").
#W091 SPFILENOTIFY_STARTREGISTRATION: returned FILEOP_SKIP.
[2004/12/29 05:42:51 756.5]
#-198 Command line processed:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
-enable
#-035 Processing service Add/Delete section [StateService.Uninstall].
#E376 Failed to lock service control manager. Lock acquired by ".\NT
Service Control Manager" for 44s.
#E251 Delete Services: Failed to open and lock service control manager.
Error 1055: The service database is locked.
#E033 Error 1055: The service database is locked.
#E275 Error while installing services. Error 1055: The service database
is locked.
[2004/12/29 20:59:03 428.264]
#-198 Command line processed: "C:\WINDOWS\system32\rundll32.exe"
shell32.dll,Control_RunDLL "C:\WINDOWS\System32\hdwwiz.cpl",Add
Hardware
#-166 Device install function: DIF_INSTALLWIZARD.
#E154 Class installer failed. Error 126: The specified module could not
be found.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#E154 Class installer failed. Error 3: The system cannot find the path
specified.
#I060 Set selected driver.
#I125 Installing NULL driver for "ROOT\PRINTER\0000".
#E122 Device install failed. Error 0xe0000219: The installation failed
because a function driver was not specified for this device instance.
Thanks for all your help.
 
T

tp

I deleted the setupapi log file before installing the printer. Here's
the contents:
[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/12/29 22:44:00 924.264]
#-198 Command line processed: "C:\WINDOWS\system32\rundll32.exe"
shell32.dll,Control_RunDLL "C:\WINDOWS\System32\hdwwiz.cpl",Add
Hardware
#-166 Device install function: DIF_INSTALLWIZARD.
#E154 Class installer failed. Error 126: The specified module could not
be found.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#E154 Class installer failed. Error 3: The system cannot find the path
specified.
#I060 Set selected driver.
#I125 Installing NULL driver for "ROOT\PRINTER\0000".
#E122 Device install failed. Error 0xe0000219: The installation failed
because a function driver was not specified for this device instance.
#-166 Device install function: DIF_REMOVE.
#E154 Class installer failed. Error 1722: The RPC server is
unavailable.
 
S

Slobodan Brcin \(eMVP\)

Strange there is no file name reference.

Do you have: "Local Printing" component ?

Regards,
Slobodan
 
K

KM

tp,

And you are sure you have got the Class Installer - Printers, Class Install Library - Printui and printer driver files including
help files in your image?

If so, as Slobodan mentioned, you would need to use FileMon to see what other files the installer cannot find.

KM
 
S

Slobodan Brcin \(eMVP\)

Ups I meant "Local Printing Support" Macro.

Regards,
Slobodan


Slobodan Brcin (eMVP) said:
Strange there is no file name reference.

Do you have: "Local Printing" component ?

Regards,
Slobodan



tp said:
I deleted the setupapi log file before installing the printer. Here's
the contents:
[SetupAPI Log]
OS Version = 5.1.2600
Platform ID = 2 (NT)
Service Pack = 0.0
Suite = 0x0140
Product Type = 1
Architecture = x86
[2004/12/29 22:44:00 924.264]
#-198 Command line processed: "C:\WINDOWS\system32\rundll32.exe"
shell32.dll,Control_RunDLL "C:\WINDOWS\System32\hdwwiz.cpl",Add
Hardware
#-166 Device install function: DIF_INSTALLWIZARD.
#E154 Class installer failed. Error 126: The specified module could not
be found.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#E154 Class installer failed. Error 3: The system cannot find the path
specified.
#I060 Set selected driver.
#I125 Installing NULL driver for "ROOT\PRINTER\0000".
#E122 Device install failed. Error 0xe0000219: The installation failed
because a function driver was not specified for this device instance.
#-166 Device install function: DIF_REMOVE.
#E154 Class installer failed. Error 1722: The RPC server is
unavailable.
 
T

tp

I used filemon and it looks like it cannot find the ntprint.cat and
ntprint.pnf file. The ntprint.cat file is located in the windows\i386
directory, but it's looking for it in the windows\inf directory. Also,
when looking in Target Designer, the ntprint.cat should get installed
as it listed under Files within one of my components. It installs it
to the %66000 directory. I'm not for sure what directory that is.
Here's the contents of the file:

811 7:56:10 PM rundll32.exe:1972 OPEN C:\WINDOWS\inf\ntprint.PNF FILE
NOT FOUND Options: Open Access: All
820 8:10:22 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.PNF FILE
NOT FOUND Options: Open Access: All
832 8:10:31 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.PNF FILE
NOT FOUND Options: Open Access: All
843 8:10:39 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.PNF FILE
NOT FOUND Options: Open Access: All
851 8:10:46 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.PNF FILE
NOT FOUND Options: Open Access: All
856 8:10:55 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.cat FILE
NOT FOUND Options: Open Access: All
860 8:10:55 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.PNF FILE
NOT FOUND Options: Open Access: All
865 8:11:02
PM rundll32.exe:1972 CREATE C:\WINDOWS\system32\spool\DRIVERS\W32X86\__SKIP_00CE PATH
NOT FOUND Options: Create Directory Access: All
869 8:11:02 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.PNF FILE
NOT FOUND Options: Open Access: All
877 8:11:09 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.PNF FILE
NOT FOUND Options: Open Access: All
883 8:11:17 PM rundll32.exe:1972 DIRECTORY C:\WINDOWS\INF\ NO SUCH
FILE FileBothDirectoryInformation: oem*.inf
889 8:11:17 PM rundll32.exe:1972 OPEN C:\windows\inf\ntprint.cat FILE
NOT FOUND Options: Open Access: All
948 8:11:17 PM rundll32.exe:1972 OPEN C:\WINDOWS\system32\Animate1 FILE
NOT FOUND Options: Open Access: All
 
K

KM

tp,

The .pnf is just the cached version of the .inf and will be regenerated if it doesn't exist.
You don't need it in original image (and you won't find the ntprint.pnf in the XPe Repository).

The .cat is signature file. You again don't necessarily need this file (but it comes with pretty much every printer driver
component).
So, that tells us you don't have any printer driver component included in your image, don't you?

The question I have is - do you have NTPRINT.INF file under \windows\inf?
 
T

tp

Yes, the ntprint.inf is under \windows\inf. I do have a printer driver
component in the image. I've added the Generic Text Only Printer to
the image.

Thanks,
Tabitha
 
K

KM

Tabitha,

I see.
Well.. I don't think you need ntprint.cat but who knows, lets fix it.

All the printer driver components that include the ntprint.cat will put it under %66000% which is actually has to be associated at
run time with SetupSetDirectoryId. This API function does not seem to get called by FBA PnP. I am not sure what's happening there
but I am wondering if you can find the ntprint.cat in your image?

If you cannot, go to "Generic / Text Only" component File section and change the target for the ntprint.cat from %66000% to
something like "%SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}".

Also, please check if "Printer Common #1 (Client Side Shared Components)" component was included in your configuration.
 
T

tp

I can find the ntprint.cat in my image. It is located in the
windows\i386 directory. In the Generic / Text Only component File
section I have changed the target to
"%SystemRoot%\system32\CatRoot\{..... and it installs there.
Although, I can change where the location of the file is being
installed, should I? What if Microsoft comes out with an update for
that file? Will I affect the changes by that update to that file
because I changed the location? Also, the Printer Common #1 component
is included in the configuration.

Thanks.
 
K

KM

tp,

What MS update for that file you are referring to? New QFE or etc.?

Anyway, did the moving file to the CatRoot... directory fix your install errors?
 
T

tp

No, it didn't fix the install errors. The error is the same. I
referring to the QFE when I speak of Microsoft updates.
 
K

KM

tp,

I don't have a clue then.
You didn't you show us the entire Filemon log, did you? I am thinking maybe there is some more information on what's been missing
from your image. Regmon'd also be useful in the analysis.

--
Regards,
KM, BSquare Corp.

PS. Just in case, check if you have got the "RPC Server" component in your image.

PPS. That's been a long thread and I forgot what we have already asked you about. Did you try the printer driver on XP Pro and/or
XPProEmulation?
 

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