/build/static/layout/Breadcrumb_cap_w.png

Printer Driver Plug and play How to Deply

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
Next

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.

Thanks

Sweede

Denmark

0 Comments   [ + ] Show comments

Answers (8)

Posted by: Walter Schulz 20 years ago
Senior Yellow Belt
0
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.
Posted by: Sweede 20 years ago
Second Degree Green Belt
0
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!

Sweede

Denmark
Posted by: Walter Schulz 20 years ago
Senior Yellow Belt
0
ORIGINAL: Sweede
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.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ddtools/hh/ddtools/devcon_0nzn.asp
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:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272

Ciao, Walter
Posted by: Sweede 20 years ago
Second Degree Green Belt
0
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)


http://www.installshield.com/news/newsletter/0312-articles/plug.asp?ISCS12NL=


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


Sweede [:D]

Denmark
Posted by: snooper47374 20 years ago
Orange Belt
0
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.
Posted by: Moeki 18 years ago
Senior Yellow Belt
0
Update Please.

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

hp LaserJet 1015

Yours, Moeki.
Posted by: cnorots 18 years ago
Yellow Belt
0
This works great!!!!
http://www.theinstall.com/DIfx1.htm
Posted by: Martin.Appel 18 years ago
Senior Yellow Belt
0
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... [;)]
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