[wpkg-users] install apps at logon instead of boot?

Tomasz Chmielewski mangoo at wpkg.org
Tue May 13 21:21:50 CEST 2008


Joe schrieb:
> Tomasz Chmielewski wrote:
>>> I have users who never restart the computer for months.
>>
>> You can use Windows Task Scheduler to stop / start WPKG service daily 
>> or weekly i.e. at night.
>>
>> You could use such a simple .bat script:
>>
>> net stop "WPKG service"
>> net start "WPKG service"
> 
> What about a user who logs out before the task runs?  Will the task
> still run with no one logged in?

Yes, everything should work fine, as WPKG service does not depend on user's 
desktop or if he/she is logged in or not.


> We could run it during the day but
> what happens when a user tries to run a program that is being
> installed/updated?

WPKG service runs in the background, and it shouldn't matter if the user is 
logged in or not. It *shouldn't* - because if the user runs a program, its 
upgrade will likely fail. You could forcibly log out the users, but you risk 
loosing the work they didn't save etc.

That's why running it during bootup makes most sense.
If you have the users who do not reboot their workstations, you have to take 
additional measures.


-- 
Tomasz Chmielewski
http://wpkg.org



More information about the wpkg-users mailing list