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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to