Dominic Iadicicco schrieb:
Hello all,

  I have been testing WPKG for a couple of weeks now and have to say
it works pretty good if I log on as administrator.

Now how does the sync work when a non admin user logs on?  I know that
is has to be running as a service but, How does that run the sync
command?  Windows needs the context of a user to install software, and
that user need elevated privileges.  I just don't understand how it
work.

It's really simple.

You have to start:

cscript \\server\wpkg\wpkg.js /synchronize /quiet

on a system start, either as Administrator or a SYSTEM.
Put it into a .bat file, and you have a script.


Did you read the documentation on http://wpkg.org/documentation.php ? :)

If you use Windows XP, the easiest way would be to use a Task Scheduler - you can add a script to be run when the system starts with certain permissions (as Administrator, or as SYSTEM). In XP Task Scheduler has a GUI version, and a command line version (good for Unattended installs).

In Windows 2000 there is only GUI version of Task Scheduler, so you can't use it with Unattended installs.


We just wrote a simple installer for WPKG, which is really bare now, but should be quite useful and good-working in a couple of weeks.

Let me know if you want to try it out.

--
Tomek



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
wpkg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to