[wpkg-users] Running wpkg using schtasks

Tomasz Chmielewski mangoo at wpkg.org
Tue Nov 7 16:21:52 CET 2006


Joshua Weage wrote:
> I've tried many different methods to automate installation of one
> particular software package, which apparently requires an admin user
> account to install.  It will not install as the SYSTEM account.
> 
> - runas doesn't work as it prompts for a password
> - cpau doesn't work as it refuses to run from the SYSTEM account
> 
> I've attempted to use schtasks to run wpkg when the machines are idle,
> but that doesn't seem to work either.  I install the task to use an
> admin account, but when the task runs, all I see in the task manager
> are two cmd.exe process and not wpkg.  I'm attempting to run the
> wpkg-start.bat file direct from a UNC share, not the local disk.
> 
> Has anyone managed to get schtasks to work in this way?  I like the
> prospect of running wpkg during idle time or during the evening in
> addition to boot time, but something is going wrong.

Certainly, you did something wrong (paths? username? password?). What is 
the eventlog saying?


One other thing you could try is to use the installer:

http://wpkg.org/files/beta/installer/wpkg-installer-0.50.zip


And restart the service periodically (via schtasks, as a SYSTEM user, so 
no password needed):

net stop "WPKG service"
net start "WPKG service"


-- 
Tomasz Chmielewski
http://wpkg.org






_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users



More information about the wpkg-users mailing list