[wpkg-users] Can WPKG install packages while user is at desktop

Rainer Meier r.meier at wpkg.org
Wed Mar 26 18:03:13 CET 2008


Hi both,

First of all the package should contain some checks. The package below 
checks for existence of the seamonkey.exe file. If it does not exist, 
then WPKG will re-install the package (at least 1.0+ versions of WPKG).

Sure you need to run the wpkg.js script using a user which has belongs 
to the Administrators group. If not sure then make sure your task runs 
with SYSTEM privileges.

By the way running something like 'cscript \\server\share\wpkg.js 
/synchronize' is one possibility. If you use WPKG client then you have a 
system service installed called "WPKG Service". This service ensures 
that WPKG runs with SYSTEM privileges (by default, if not configured to 
another account). If you use WPKG client, then you might simply schedule 
a task using the following command:

net start WpkgService

NOTE: Also here you need to make sure that the user executing the 
command has privileges to start/stop services.

Using this setup WPKG can try to synchronize software at windows startup 
as WPKG client is run automatically at startup by default. If it fails 
it might be periodically (or at a specific point in time) started by the 
task scheduler of Windows.

Please also consult the home page of WPKG at http://wpkg.org/ for WPKG 
package specifications. For example you can find ready-to-use package 
definitions for Firefox which have been tested quite well.

br,
Rainer




More information about the wpkg-users mailing list