Printer driver installation on 750 clients.

What is the right way to install printer drivers for a Local HP LaserJet 1015 LPT1:. Parallel printer.

I have chosen a printer with parallel port because I think it is easier to install than USB.

About my environment:

Pure Windows inviroment

Windows server 2000 - 2003, AD, software and rights are distributed by GPO

New computers are installed from RIS,

All my 750 clients are running Windows XP professional.

None of my users have administrative rights.

I have tried to make a installation in several ways

The original CD included by HP have a guide to make a silent installation but this installation can only run if the printer is already attached to the computer.

That is really a problem I would prefer the driver to be installed with out the printer is present and after the installation, I don’t need the New hardware is found wizard, when the printer is attached

None of my Users have Administrative rights.

The Printing System Installer Customization Wizard enables an administrator to customize the printing system installer that comes with the product by presetting the options for installation in a response file. The customized installer is then ready for silent, unattended installation by end users.
In this Logon Script I try to install the Printer if it is not already installed.

Dim oWSH ' Object for accessing Wscript Objects
Set oWSH = WScript.CreateObject("WScript.Shell")
dim svar
strComputer = "."
svar = 10
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colInstalledPrinters = objWMIService.ExecQuery _
("Select * from Win32_Printer")
For Each objPrinter in colInstalledPrinters

objPrinter.name = objPrinter.name

IF Instr(1,Ucase(objprinter.name),UCase("HP LaserJet 1010 Series Driver"),1)Then
svar = 0

End If
If svar = 10 Then

oWSH.Run "\\bdo.dk\dfs$\packages\printers\hp1015\setup.exe /S /L1030 /v""/qb! RESPONSE=response.ini""", 1, true
End If

It works but the printer must be atached during install. [:@]

I have also tried by snapshot, I have InstallShield Adminstudio and Wise Package studio.

I would like to hear from others, what is your experience with this.



0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


Hello, Sweede!

I would prefer not to use the setup routine but the INF-based PCL 5e drivers available at www.hp.com.
This is my way:
I would create a package with our distribution tool (local admin bypassing the user restrictions). The package will contain the INF based drivers (2,25 MB) and a command like this:
rundll32 printui.dll,PrintUIEntry /if /f "<path>\hp1015m5.inf" /r "lpt1:" /m "HP LaserJet 1015 PCL 5e"

Ciao, Walter

PS: Well, actually we are not using scripts for local printer deployment. A printer will be delivered to the user by support staff who will use a local admin account to log on and then connect the printer to the computer. Same person is responsible of filling some forms for lifecycle management.
The person will not have to do anything else (no driver installation) because there is a central depot for drivers on the net. The computer was installed with an extension to the OEMpnpDriversPath. We manipulate the INF to manage a structured driver library. The path points to a single net directory where the INF and the driver directory structure is located. Works fine for us. After connecting the printer the computer will find a new device, the computer will search for the corresponding INF and install the driver.
Answered 04/22/2004 by: Walter Schulz
Senior Yellow Belt

Please log in to comment
Hello, Walter

Thank You for responding

I have made a package with install Shield it contains a directory with the drivers, and for now, one custom action running the following:

rundll32 printui.dll,PrintUIEntry /if /f "C:\lj1015\hp1015m5.inf" /r "lpt1:" /m "hp LaserJet 1015 PCL 5e" /n "hp LaserJet 1015"

This works fine, but still I get the "New hardware found wizzard" [:'(]

And it comes back after each reboot

None of my users have or will get Administrative rights so Im not [:D] just yet

I could stop this pnp Service, perhaps but in some cases its used when inserting USB Keys.

How to prent "New hardware found wizzard" from poping up?

I think I need to Insert the "HardwareID" some where [&o]

Any suggestions!


Answered 04/23/2004 by: Sweede
Second Degree Green Belt

Please log in to comment
This works fine, but still I get the "New hardware found wizzard" [:'(]
And it comes back after each reboot

For this very reason we're using our support staff for delivery.

The only solution which comes to my mind is DEVCON.
This utility is able to manage devices (add, delete, modify). But I'm not quite sure if it is able to be developed together with the printer driver installation (good) or after attaching the printer to the parallel port (bad).
DEVCON is available here:

Ciao, Walter
Answered 04/23/2004 by: Walter Schulz
Senior Yellow Belt

Please log in to comment
I know of DEVCON i have tried it before, used some time with it trying to install Logitech Wheelmouse and USB connector.

I have have just come across this new book from Install shield where it is told how to

Install a Plug and Play driver with 7 custom Action inside one MSI.

Practical Windows Installer Solutions for Building InstallShield Setup Applications

By Bob Baker (ISBN 0971570833)


I look forward to read this book, and i will return to this forum when i get the hang of it.

Sweede [:D]

Answered 04/25/2004 by: Sweede
Second Degree Green Belt

Please log in to comment
Please let us know if it works.. I too use RIS for all the PCs and want to find a solution for the same printer issue using GPO or anything really.
Answered 04/28/2004 by: snooper47374
Orange Belt

Please log in to comment
Update Please.

Does anybody actually know, how to deploy USB Printer Drivers silent without user interactíon?

hp LaserJet 1015

Yours, Moeki.
Answered 05/20/2006 by: Moeki
Senior Yellow Belt

Please log in to comment
This works great!!!!
Answered 06/19/2006 by: cnorots
Yellow Belt

Please log in to comment
There are commercially available SW distribution solutions on the market that can handle printer driver installations nicely and in a silent way. Some support the Installation of PnP Devices as well.

Our NetInstall is one of them... [;)]
Answered 07/03/2006 by: Martin.Appel
Senior Yellow Belt

Please log in to comment