/build/static/layout/Breadcrumb_cap_w.png

Unattended Printer Installation

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

Answers (3)

Posted by: MSIMaker 19 years ago
2nd Degree Black Belt
0
Don't the printer drivers have to go into the SystemRoot%\System32\spool\DRIVERS\W32X86\3 Folder?
Posted by: Cooper 19 years ago
Senior Yellow Belt
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 ()
Posted by: mickman 19 years ago
Orange Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ