[wpkg-users] adding printer drivers

Joe joe at freakyacres.com
Fri Nov 12 22:40:00 CET 2010


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.



More information about the wpkg-users mailing list