Here is a Script to deploy a printer driver unattended (also drivers not included in the windows driver database, like Adobe PS, Adobe PDF):


[font="Courier New"]copy AD2KREGP.DLL "%SystemRoot%\System32\spool\DRIVERS\W32X86\*.*" >NUL
copy ADPDF6.PPD "%SystemRoot%\System32\spool\DRIVERS\W32X86\*.*" >NUL
copy Ps5ui.dll "%SystemRoot%\System32\spool\DRIVERS\W32X86\*.*" >NUL
copy Pscript.hlp "%SystemRoot%\System32\spool\DRIVERS\W32X86\*.*" >NUL
copy PSCRIPT5.DLL "%SystemRoot%\System32\spool\DRIVERS\W32X86\*.*" >NUL
GPSETUP.EXE /install Q:\APPS\ACROPRO\PRINTER.INI

Where GPSETUP.EXE is a generic Printer Setup Programm of mine.

This script also solves the unattended AcroPro Installation on WinXP SP2.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Don't the printer drivers have to go into the SystemRoot%\System32\spool\DRIVERS\W32X86\3 Folder?
Answered 10/06/2004 by: MSIMaker
Second Degree Black Belt

Please log in to comment
0
After using the small program GPSETUP.EXE the printer drivers are moved in SystemRoot%\System32\spool\DRIVERS\W32X86\3 by the System.
The small C Program GPSETUP.EXE uses the Win32 API Calls
AddPrinterDriver () and
AddPrinter ()
Answered 10/07/2004 by: Cooper
Senior Yellow Belt

Please log in to comment
0
How does this work with the 'Unsigned drivers' principle?

Install printers unattended also works with 'rundll32 PRINTUI.DLL,PrintUIEntry /?'
But not with unsigned drivers when the policy does not permit unsigned drivers.
Answered 10/12/2004 by: mickman
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity