|
| |||||||||
| Tags: signing, silent, text |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Silent installation of text only printer fails (driver signing)
Hello Currently I have to install about 2000 "text only" printers on a server for testing purposes. So I used the printui.dll commands to install the printer: ECHO Generic / Text Only start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Generic / Text Only" /h "intel" /v "Windows 2000" /f "%windir%\inf\ntprint.inf" ECHO. ECHO ***** Printer Install ***** ECHO TextOnly start /wait rundll32 printui.dll,PrintUIEntry /if /z /b "TextOnly" /f "%windir%\inf\ntprint.inf" /r "lpt1:" /m "Generic / Text Only" /q Every thing works fine except the "Hardware Information" dialog box. I have to accept that a non signed driver will be installed. I use the original "Generic / Text only" driver from the windows 2003 cd. How can I suppress this dialog box? Parameter /Gw doesn't work. Any ideas are welcome Roger |
|
#2
| |||
| |||
| Re: Silent installation of text only printer fails (driver signing)
make sure the ntprint.cat file is the one for the ntprint.inf file you are referencing and the driver files you are installing match the inf and cat. The easiest way to check this is to install the driver using the UI. If you get the unsigned warning, there is a mismatch. There was some hotfix for XP that only shipped one core file that breaks driver signing. Check the file version of unidrv.dll and unidrvui.dll. ntprint.inf should be pointing to one of the cab files in \windows\driver cache\i386 If there is an expanded unidrv* file in this location \windows\driver cache\i386 delete it so the file will be pulled from the cab. -- Alan Morris Windows Printing Team Search the Microsoft Knowledge Base here: http://support.microsoft.com/search/?adv=1 This posting is provided "AS IS" with no warranties, and confers no rights. "Roger" <Roger@discussions.microsoft.com> wrote in message news:A86BDCB7-6BD5-4014-B374-52544D950EB7@microsoft.com... > Hello > > Currently I have to install about 2000 "text only" printers on a server > for > testing purposes. So I used the printui.dll commands to install the > printer: > > ECHO Generic / Text Only > start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Generic / Text Only" > /h "intel" /v "Windows 2000" /f "%windir%\inf\ntprint.inf" > ECHO. > ECHO ***** Printer Install ***** > ECHO TextOnly > start /wait rundll32 printui.dll,PrintUIEntry /if /z /b "TextOnly" /f > "%windir%\inf\ntprint.inf" /r "lpt1:" /m "Generic / Text Only" /q > > Every thing works fine except the "Hardware Information" dialog box. I > have > to accept that a non signed driver will be installed. I use the original > "Generic / Text only" driver from the windows 2003 cd. > > How can I suppress this dialog box? Parameter /Gw doesn't work. > > Any ideas are welcome > > Roger > |
|
#3
| |||
| |||
| Re: Silent installation of text only printer fails (driver signing
Hi Alan Thanks for the response. I last entry was a little bit incorrect. The driver is signed, but the "Hardware Installation" dialog tells me that the driver has not passed the Windows Logo testing. Then I have to continue the installation with "Continue Anyway". This dialog will be shown when I install the printer by command line and (at the last steps of) the wizard. Roger "Alan Morris [MSFT]" wrote: > make sure the ntprint.cat file is the one for the ntprint.inf file you are > referencing and the driver files you are installing match the inf and cat. > > The easiest way to check this is to install the driver using the UI. If you > get the unsigned warning, there is a mismatch. > > There was some hotfix for XP that only shipped one core file that breaks > driver signing. Check the file version of unidrv.dll and unidrvui.dll. > > ntprint.inf should be pointing to one of the cab files in \windows\driver > cache\i386 > > > If there is an expanded unidrv* file in this location \windows\driver > cache\i386 delete it so the file will be pulled from the cab. > > -- > Alan Morris > Windows Printing Team > Search the Microsoft Knowledge Base here: > http://support.microsoft.com/search/?adv=1 > > This posting is provided "AS IS" with no warranties, and confers no rights. > > "Roger" <Roger@discussions.microsoft.com> wrote in message > news:A86BDCB7-6BD5-4014-B374-52544D950EB7@microsoft.com... > > Hello > > > > Currently I have to install about 2000 "text only" printers on a server > > for > > testing purposes. So I used the printui.dll commands to install the > > printer: > > > > ECHO Generic / Text Only > > start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Generic / Text Only" > > /h "intel" /v "Windows 2000" /f "%windir%\inf\ntprint.inf" > > ECHO. > > ECHO ***** Printer Install ***** > > ECHO TextOnly > > start /wait rundll32 printui.dll,PrintUIEntry /if /z /b "TextOnly" /f > > "%windir%\inf\ntprint.inf" /r "lpt1:" /m "Generic / Text Only" /q > > > > Every thing works fine except the "Hardware Information" dialog box. I > > have > > to accept that a non signed driver will be installed. I use the original > > "Generic / Text only" driver from the windows 2003 cd. > > > > How can I suppress this dialog box? Parameter /Gw doesn't work. > > > > Any ideas are welcome > > > > Roger > > > > > |
|
#4
| |||
| |||
| Re: Silent installation of text only printer fails (driver signing
It's not signed any more (most likely due to the cat file mismatch). You will need to copy all the files that are signed the same to a directory containing the proper ntprint.inf and ntprint.cat files -- Alan Morris Windows Printing Team Search the Microsoft Knowledge Base here: http://support.microsoft.com/search/?adv=1 This posting is provided "AS IS" with no warranties, and confers no rights. "Roger" <Roger@discussions.microsoft.com> wrote in message news:5535709E-4BB9-4A59-A4C9-AE0EF40D3AA0@microsoft.com... > Hi Alan > > Thanks for the response. I last entry was a little bit incorrect. The > driver > is signed, but the "Hardware Installation" dialog tells me that the driver > has not passed the Windows Logo testing. Then I have to continue the > installation with "Continue Anyway". This dialog will be shown when I > install > the printer by command line and (at the last steps of) the wizard. > > Roger > > "Alan Morris [MSFT]" wrote: > >> make sure the ntprint.cat file is the one for the ntprint.inf file you >> are >> referencing and the driver files you are installing match the inf and >> cat. >> >> The easiest way to check this is to install the driver using the UI. If >> you >> get the unsigned warning, there is a mismatch. >> >> There was some hotfix for XP that only shipped one core file that breaks >> driver signing. Check the file version of unidrv.dll and unidrvui.dll. >> >> ntprint.inf should be pointing to one of the cab files in \windows\driver >> cache\i386 >> >> >> If there is an expanded unidrv* file in this location \windows\driver >> cache\i386 delete it so the file will be pulled from the cab. >> >> -- >> Alan Morris >> Windows Printing Team >> Search the Microsoft Knowledge Base here: >> http://support.microsoft.com/search/?adv=1 >> >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> >> "Roger" <Roger@discussions.microsoft.com> wrote in message >> news:A86BDCB7-6BD5-4014-B374-52544D950EB7@microsoft.com... >> > Hello >> > >> > Currently I have to install about 2000 "text only" printers on a server >> > for >> > testing purposes. So I used the printui.dll commands to install the >> > printer: >> > >> > ECHO Generic / Text Only >> > start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Generic / Text >> > Only" >> > /h "intel" /v "Windows 2000" /f "%windir%\inf\ntprint.inf" >> > ECHO. >> > ECHO ***** Printer Install ***** >> > ECHO TextOnly >> > start /wait rundll32 printui.dll,PrintUIEntry /if /z /b "TextOnly" /f >> > "%windir%\inf\ntprint.inf" /r "lpt1:" /m "Generic / Text Only" /q >> > >> > Every thing works fine except the "Hardware Information" dialog box. I >> > have >> > to accept that a non signed driver will be installed. I use the >> > original >> > "Generic / Text only" driver from the windows 2003 cd. >> > >> > How can I suppress this dialog box? Parameter /Gw doesn't work. >> > >> > Any ideas are welcome >> > >> > Roger >> > >> >> >> |
|
#5
| |||
| |||
| Re: Silent installation of text only printer fails (driver signing
Hi Alan Thanks for the information. To check this I have done a bare metal installation. Now the Installation message does not appear. So there is really a problem on the installed machines. Can you explain where I can find all the files which I have to clean up? In the c:\windows\driver cache\i386 there are no ntprint*.* or unidrv*.* files. Do I have to uninstall all existing "Text only" printers to clean the drivers or can I overwrite it with the new drivers during the next printer installation (when I have cleaned the required directories)? Kind regards Roger "Alan Morris [MSFT]" wrote: > It's not signed any more (most likely due to the cat file mismatch). > > > You will need to copy all the files that are signed the same to a directory > containing the proper ntprint.inf and ntprint.cat files > > > > -- > Alan Morris > Windows Printing Team > Search the Microsoft Knowledge Base here: > http://support.microsoft.com/search/?adv=1 > > This posting is provided "AS IS" with no warranties, and confers no rights. > > "Roger" <Roger@discussions.microsoft.com> wrote in message > news:5535709E-4BB9-4A59-A4C9-AE0EF40D3AA0@microsoft.com... > > Hi Alan > > > > Thanks for the response. I last entry was a little bit incorrect. The > > driver > > is signed, but the "Hardware Installation" dialog tells me that the driver > > has not passed the Windows Logo testing. Then I have to continue the > > installation with "Continue Anyway". This dialog will be shown when I > > install > > the printer by command line and (at the last steps of) the wizard. > > > > Roger > > > > "Alan Morris [MSFT]" wrote: > > > >> make sure the ntprint.cat file is the one for the ntprint.inf file you > >> are > >> referencing and the driver files you are installing match the inf and > >> cat. > >> > >> The easiest way to check this is to install the driver using the UI. If > >> you > >> get the unsigned warning, there is a mismatch. > >> > >> There was some hotfix for XP that only shipped one core file that breaks > >> driver signing. Check the file version of unidrv.dll and unidrvui.dll. > >> > >> ntprint.inf should be pointing to one of the cab files in \windows\driver > >> cache\i386 > >> > >> > >> If there is an expanded unidrv* file in this location \windows\driver > >> cache\i386 delete it so the file will be pulled from the cab. > >> > >> -- > >> Alan Morris > >> Windows Printing Team > >> Search the Microsoft Knowledge Base here: > >> http://support.microsoft.com/search/?adv=1 > >> > >> This posting is provided "AS IS" with no warranties, and confers no > >> rights. > >> > >> "Roger" <Roger@discussions.microsoft.com> wrote in message > >> news:A86BDCB7-6BD5-4014-B374-52544D950EB7@microsoft.com... > >> > Hello > >> > > >> > Currently I have to install about 2000 "text only" printers on a server > >> > for > >> > testing purposes. So I used the printui.dll commands to install the > >> > printer: > >> > > >> > ECHO Generic / Text Only > >> > start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Generic / Text > >> > Only" > >> > /h "intel" /v "Windows 2000" /f "%windir%\inf\ntprint.inf" > >> > ECHO. > >> > ECHO ***** Printer Install ***** > >> > ECHO TextOnly > >> > start /wait rundll32 printui.dll,PrintUIEntry /if /z /b "TextOnly" /f > >> > "%windir%\inf\ntprint.inf" /r "lpt1:" /m "Generic / Text Only" /q > >> > > >> > Every thing works fine except the "Hardware Information" dialog box. I > >> > have > >> > to accept that a non signed driver will be installed. I use the > >> > original > >> > "Generic / Text only" driver from the windows 2003 cd. > >> > > >> > How can I suppress this dialog box? Parameter /Gw doesn't work. > >> > > >> > Any ideas are welcome > >> > > >> > Roger > >> > > >> > >> > >> > > > |
|
#6
| |||
| |||
| Re: Silent installation of text only printer fails (driver signing
\windows\inf\ntprint.inf \windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\ntprint.cat You can also disable the Warning dialog and I think this will work around the issue for rundll32 in XP and Server 2003 Control panel / System / Hardware / Driver Signing Set this to Ignore. -- Alan Morris Windows Printing Team Search the Microsoft Knowledge Base here: http://support.microsoft.com/search/?adv=1 This posting is provided "AS IS" with no warranties, and confers no rights. "Roger" <Roger@discussions.microsoft.com> wrote in message news:2F3FB151-2888-4F6C-A1D2-2B5258214C5B@microsoft.com... > Hi Alan > > Thanks for the information. To check this I have done a bare metal > installation. Now the Installation message does not appear. So there is > really a problem on the installed machines. > > Can you explain where I can find all the files which I have to clean up? > In > the c:\windows\driver cache\i386 there are no ntprint*.* or unidrv*.* > files. > Do I have to uninstall all existing "Text only" printers to clean the > drivers > or can I overwrite it with the new drivers during the next printer > installation (when I have cleaned the required directories)? > > Kind regards > Roger > > "Alan Morris [MSFT]" wrote: > >> It's not signed any more (most likely due to the cat file mismatch). >> >> >> You will need to copy all the files that are signed the same to a >> directory >> containing the proper ntprint.inf and ntprint.cat files >> >> >> >> -- >> Alan Morris >> Windows Printing Team >> Search the Microsoft Knowledge Base here: >> http://support.microsoft.com/search/?adv=1 >> >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> >> "Roger" <Roger@discussions.microsoft.com> wrote in message >> news:5535709E-4BB9-4A59-A4C9-AE0EF40D3AA0@microsoft.com... >> > Hi Alan >> > >> > Thanks for the response. I last entry was a little bit incorrect. The >> > driver >> > is signed, but the "Hardware Installation" dialog tells me that the >> > driver >> > has not passed the Windows Logo testing. Then I have to continue the >> > installation with "Continue Anyway". This dialog will be shown when I >> > install >> > the printer by command line and (at the last steps of) the wizard. >> > >> > Roger >> > >> > "Alan Morris [MSFT]" wrote: >> > >> >> make sure the ntprint.cat file is the one for the ntprint.inf file you >> >> are >> >> referencing and the driver files you are installing match the inf and >> >> cat. >> >> >> >> The easiest way to check this is to install the driver using the UI. >> >> If >> >> you >> >> get the unsigned warning, there is a mismatch. >> >> >> >> There was some hotfix for XP that only shipped one core file that >> >> breaks >> >> driver signing. Check the file version of unidrv.dll and >> >> unidrvui.dll. >> >> >> >> ntprint.inf should be pointing to one of the cab files in >> >> \windows\driver >> >> cache\i386 >> >> >> >> >> >> If there is an expanded unidrv* file in this location \windows\driver >> >> cache\i386 delete it so the file will be pulled from the cab. >> >> >> >> -- >> >> Alan Morris >> >> Windows Printing Team >> >> Search the Microsoft Knowledge Base here: >> >> http://support.microsoft.com/search/?adv=1 >> >> >> >> This posting is provided "AS IS" with no warranties, and confers no >> >> rights. >> >> >> >> "Roger" <Roger@discussions.microsoft.com> wrote in message >> >> news:A86BDCB7-6BD5-4014-B374-52544D950EB7@microsoft.com... >> >> > Hello >> >> > >> >> > Currently I have to install about 2000 "text only" printers on a >> >> > server >> >> > for >> >> > testing purposes. So I used the printui.dll commands to install the >> >> > printer: >> >> > >> >> > ECHO Generic / Text Only >> >> > start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Generic / Text >> >> > Only" >> >> > /h "intel" /v "Windows 2000" /f "%windir%\inf\ntprint.inf" >> >> > ECHO. >> >> > ECHO ***** Printer Install ***** >> >> > ECHO TextOnly >> >> > start /wait rundll32 printui.dll,PrintUIEntry /if /z /b "TextOnly" >> >> > /f >> >> > "%windir%\inf\ntprint.inf" /r "lpt1:" /m "Generic / Text Only" /q >> >> > >> >> > Every thing works fine except the "Hardware Information" dialog box. >> >> > I >> >> > have >> >> > to accept that a non signed driver will be installed. I use the >> >> > original >> >> > "Generic / Text only" driver from the windows 2003 cd. >> >> > >> >> > How can I suppress this dialog box? Parameter /Gw doesn't work. >> >> > >> >> > Any ideas are welcome >> >> > >> >> > Roger >> >> > >> >> >> >> >> >> >> >> >> |
|
#7
| |||
| |||
| Re: Silent installation of text only printer fails (driver signing
Hi Alan After the cleanup everything is working fine. Thanks! Roger "Alan Morris [MSFT]" wrote: > \windows\inf\ntprint.inf > > > \windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\ntprint.cat > > > You can also disable the Warning dialog and I think this will work around > the issue for rundll32 in XP and Server 2003 > > Control panel / System / Hardware / Driver Signing > Set this to Ignore. > > -- > Alan Morris > Windows Printing Team > Search the Microsoft Knowledge Base here: > http://support.microsoft.com/search/?adv=1 > > This posting is provided "AS IS" with no warranties, and confers no rights. > > "Roger" <Roger@discussions.microsoft.com> wrote in message > news:2F3FB151-2888-4F6C-A1D2-2B5258214C5B@microsoft.com... > > Hi Alan > > > > Thanks for the information. To check this I have done a bare metal > > installation. Now the Installation message does not appear. So there is > > really a problem on the installed machines. > > > > Can you explain where I can find all the files which I have to clean up? > > In > > the c:\windows\driver cache\i386 there are no ntprint*.* or unidrv*.* > > files. > > Do I have to uninstall all existing "Text only" printers to clean the > > drivers > > or can I overwrite it with the new drivers during the next printer > > installation (when I have cleaned the required directories)? > > > > Kind regards > > Roger > > > > "Alan Morris [MSFT]" wrote: > > > >> It's not signed any more (most likely due to the cat file mismatch). > >> > >> > >> You will need to copy all the files that are signed the same to a > >> directory > >> containing the proper ntprint.inf and ntprint.cat files > >> > >> > >> > >> -- > >> Alan Morris > >> Windows Printing Team > >> Search the Microsoft Knowledge Base here: > >> http://support.microsoft.com/search/?adv=1 > >> > >> This posting is provided "AS IS" with no warranties, and confers no > >> rights. > >> > >> "Roger" <Roger@discussions.microsoft.com> wrote in message > >> news:5535709E-4BB9-4A59-A4C9-AE0EF40D3AA0@microsoft.com... > >> > Hi Alan > >> > > >> > Thanks for the response. I last entry was a little bit incorrect. The > >> > driver > >> > is signed, but the "Hardware Installation" dialog tells me that the > >> > driver > >> > has not passed the Windows Logo testing. Then I have to continue the > >> > installation with "Continue Anyway". This dialog will be shown when I > >> > install > >> > the printer by command line and (at the last steps of) the wizard. > >> > > >> > Roger > >> > > >> > "Alan Morris [MSFT]" wrote: > >> > > >> >> make sure the ntprint.cat file is the one for the ntprint.inf file you > >> >> are > >> >> referencing and the driver files you are installing match the inf and > >> >> cat. > >> >> > >> >> The easiest way to check this is to install the driver using the UI. > >> >> If > >> >> you > >> >> get the unsigned warning, there is a mismatch. > >> >> > >> >> There was some hotfix for XP that only shipped one core file that > >> >> breaks > >> >> driver signing. Check the file version of unidrv.dll and > >> >> unidrvui.dll. > >> >> > >> >> ntprint.inf should be pointing to one of the cab files in > >> >> \windows\driver > >> >> cache\i386 > >> >> > >> >> > >> >> If there is an expanded unidrv* file in this location \windows\driver > >> >> cache\i386 delete it so the file will be pulled from the cab. > >> >> > >> >> -- > >> >> Alan Morris > >> >> Windows Printing Team > >> >> Search the Microsoft Knowledge Base here: > >> >> http://support.microsoft.com/search/?adv=1 > >> >> > >> >> This posting is provided "AS IS" with no warranties, and confers no > >> >> rights. > >> >> > >> >> "Roger" <Roger@discussions.microsoft.com> wrote in message > >> >> news:A86BDCB7-6BD5-4014-B374-52544D950EB7@microsoft.com... > >> >> > Hello > >> >> > > >> >> > Currently I have to install about 2000 "text only" printers on a > >> >> > server > >> >> > for > >> >> > testing purposes. So I used the printui.dll commands to install the > >> >> > printer: > >> >> > > >> >> > ECHO Generic / Text Only > >> >> > start /wait rundll32 printui.dll,PrintUIEntry /ia /m "Generic / Text > >> >> > Only" > >> >> > /h "intel" /v "Windows 2000" /f "%windir%\inf\ntprint.inf" > >> >> > ECHO. > >> >> > ECHO ***** Printer Install ***** > >> >> > ECHO TextOnly > >> >> > start /wait rundll32 printui.dll,PrintUIEntry /if /z /b "TextOnly" > >> >> > /f > >> >> > "%windir%\inf\ntprint.inf" /r "lpt1:" /m "Generic / Text Only" /q > >> >> > > >> >> > Every thing works fine except the "Hardware Information" dialog box. > >> >> > I > >> >> > have > >> >> > to accept that a non signed driver will be installed. I use the > >> >> > original > >> >> > "Generic / Text only" driver from the windows 2003 cd. > >> >> > > >> >> > How can I suppress this dialog box? Parameter /Gw doesn't work. > >> >> > > >> >> > Any ideas are welcome > >> >> > > >> >> > Roger > >> >> > > >> >> > >> >> > >> >> > >> > >> > >> > > > |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Silent installation of text only printer fails (driver signing)" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Samsung SCX-3200 Series printer driver installation failure | SonixLT | Hardware Peripherals | 2 | 06-11-2011 01:28 AM |
| MTP device driver installation fails on "Nokia 5800 | Apalachee | Portable Devices | 6 | 05-06-2010 01:39 AM |
| Printer driver Installation problem | eko1974 | Hardware Peripherals | 4 | 01-07-2009 07:11 PM |
| How to set driver signing behavior | stephenx | Hardware Peripherals | 3 | 24-04-2009 11:37 AM |
| Acer AL2216W - driver installation fails | ricardo.l | XP Hardware | 5 | 10-02-2008 12:03 AM |