[wpkg-users] adding printer drivers

Frank Doeschner frank.doeschner at uni-due.de
Sat Nov 13 13:07:58 CET 2010


hi,

try the "Printer Admin Scripts" from MS (prncfg.vbs an prnmgr.vbs):
http://ss64.com/nt/prncnfg.html
http://ss64.com/nt/prnmngr.html

Am 12.11.2010 22:40, schrieb Joe:
> I've been trying all day to get a printer driver loaded and I finally
> need to ask
> for help. I can add a driver with...
>
> rundll32 PrintUI.dll,PrintUIEntry /ia /f
> \\R4p17\VOL1\apps\wpkg\programs\prndrvs\hp2840\hpc2800z.inf /m "HP Color
> LaserJet 2840 PCL 6"
>
> ...on the command line with a user who is an admin. It works fine. When
> I try it with wpkg it fails. The user
> that wpkg is running under is a domain admin. It works fine for all
> other apps that I use it for.
>
> Anyone have any tips?
>
> (it says it is installed already because I installed the driver manually
> and ran wpkg to see if the check passed
> and it did. Then I uninstalled but didn't delete the local database.)
>
> 2010-11-12 16:35:57, DEBUG : Going to install package 'HP 2840 Printer
> Driver' (HP2840), Revision 1, (execute flag is '', notify flag is 'true').
> 2010-11-12 16:35:57, DEBUG : Package 'HP 2840 Printer Driver' (HP2840):
> Not yet processed during this session.
> 2010-11-12 16:35:57, DEBUG : Comparing version: '1' <=> '1'.
> 2010-11-12 16:35:57, DEBUG : Checking existence of package: HP 2840
> Printer Driver
> 2010-11-12 16:35:57, DEBUG : Saving current environment
> 2010-11-12 16:35:57, DEBUG : Reading variables from package HP 2840
> Printer Driver
> 2010-11-12 16:35:57, DEBUG : Reading variables from profile[s]
> 2010-11-12 16:35:57, DEBUG : Getting profiles which apply to this node.
> 2010-11-12 16:35:57, DEBUG : 1 profiles apply to this host.
> 2010-11-12 16:35:57, DEBUG : Reading variables from profile other
> 2010-11-12 16:35:57, DEBUG : Reading variables from host .+
> 2010-11-12 16:35:57, DEBUG : The registry path
> 'HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT
> x86\Drivers\Version-3\HP Color LaserJet 2840 PCL 6\Data File' did not
> exist. Check failed.
> 2010-11-12 16:35:57, DEBUG : Loading saved environment
> 2010-11-12 16:35:57, DEBUG : Package 'HP 2840 Printer Driver' (HP2840):
> Installed but checks failed. Re-Installing.
> 2010-11-12 16:35:57, DEBUG : Installation of references (dependencies)
> for 'HP 2840 Printer Driver' (HP2840) successfully finished.
> 2010-11-12 16:35:57, INFO : Installing 'HP 2840 Printer Driver' (HP2840)...
> 2010-11-12 16:35:57, DEBUG : Saving current environment
> 2010-11-12 16:35:57, DEBUG : Reading variables from package HP 2840
> Printer Driver
> 2010-11-12 16:35:57, DEBUG : Reading variables from profile[s]
> 2010-11-12 16:35:57, DEBUG : Getting profiles which apply to this node.
> 2010-11-12 16:35:57, DEBUG : 1 profiles apply to this host.
> 2010-11-12 16:35:57, DEBUG : Reading variables from profile other
> 2010-11-12 16:35:57, DEBUG : Reading variables from host .+
> 2010-11-12 16:35:57, DEBUG : Install type: install
> 2010-11-12 16:35:57, DEBUG : Fetched 1 install command(s).
> 2010-11-12 16:35:57, DEBUG : Executing command: rundll32
> PrintUI.dll,PrintUIEntry /ia /f %SOFTWARE%\prndrvs\hp2840\hpc2800z.inf
> /m "HP Color LaserJet 2840 PCL 6" /q
> 2010-11-12 16:36:04, DEBUG : Command in installation of HP 2840 Printer
> Driver returned exit code [0]. Success.
> 2010-11-12 16:36:04, DEBUG : Checking existence of package: HP 2840
> Printer Driver
> 2010-11-12 16:36:04, DEBUG : Saving current environment
> 2010-11-12 16:36:04, DEBUG : Reading variables from package HP 2840
> Printer Driver
> 2010-11-12 16:36:04, DEBUG : Reading variables from profile[s]
> 2010-11-12 16:36:04, DEBUG : Getting profiles which apply to this node.
> 2010-11-12 16:36:04, DEBUG : 1 profiles apply to this host.
> 2010-11-12 16:36:04, DEBUG : Reading variables from profile other
> 2010-11-12 16:36:04, DEBUG : Reading variables from host .+
> 2010-11-12 16:36:04, DEBUG : The registry path
> 'HKLM\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT
> x86\Drivers\Version-3\HP Color LaserJet 2840 PCL 6\Data File' did not
> exist. Check failed.
> 2010-11-12 16:36:04, DEBUG : Loading saved environment
> 2010-11-12 16:36:04, ERROR : Could not process (install) HP 2840 Printer
> Driver.|Failed checking after installation.
> 2010-11-12 16:36:04, DEBUG : Cleaning up temporary downloaded files
> 2010-11-12 16:36:04, DEBUG : Restoring previous environment.
> 2010-11-12 16:36:04, DEBUG : Loading saved environment
> 2010-11-12 16:36:04, INFO : User notification suppressed. Message: The
> automated software installation utility has completed installing or
> updating software on your system. No reboot was necessary. All updates
> are complete.
> -------------------------------------------------------------------------
> wpkg-users mailing list archives >>
> http://lists.wpkg.org/pipermail/wpkg-users/
> _______________________________________________
> wpkg-users mailing list
> wpkg-users at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/wpkg-users

-- 
Mit freundlichen Gruessen

Dipl.-Ing. Frank Doeschner
Universitaet Duisburg-Essen
Zentrum für Informations- und Mediendienste (ZIM)
Geschaeftsbereich IT-Infrastruktur
D-47057 Duisburg
Forsthausweg 2 / LE021
Tel.: +49 (0)203 379-2026  Fax.: -4366
E-Mail: frank.doeschner at uni-due.de



More information about the wpkg-users mailing list