Re: [wpkg-users] User initiated runs of WPKG

2012-10-15 Thread Lonney
Hi Andrew,

Turns out the option to do this might be handy.

I have a situation where we have two remote users that use a software
VPN client. In order for them to get software updates via WPKG we
would need to either run via a scheduled task and/or have an option
for the user to run a shortcut while the VPN is connected.

I'd be interested to know if you get this working.


Lonney.

On 10 October 2012 08:56, Andrew Struiksma
andrew_struik...@msvl.k12.wa.us wrote:
 I've been trying to figure out a way to allow end users to trigger WPKG to
 run when it is convenient to them. Ideally we could setup a shortcut on
 everyone's Start menu so that they could click Install Updates which would
 start wpkg.js. The issue I'm having with implementing this is that end users
 don't have local admin rights. Has anyone figured out a way to allow users
 to trigger wpkg.js with elevated privileges?

 Andrew



 -
 wpkg-users mailing list archives 
 http://lists.wpkg.org/pipermail/wpkg-users/
 ___
 wpkg-users mailing list
 wpkg-users@lists.wpkg.org
 http://lists.wpkg.org/mailman/listinfo/wpkg-users

-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] User initiated runs of WPKG

2012-10-11 Thread heiko . helmle
 
 I've been trying to figure out a way to allow end users to trigger 
 WPKG to run when it is convenient to them. Ideally we could setup a 
 shortcut on everyone's Start menu so that they could click Install 
 Updates which would start wpkg.js. The issue I'm having with 
 implementing this is that end users don't have local admin rights. 
 Has anyone figured out a way to allow users to trigger wpkg.js with 
 elevated privileges? 

With WPKG-GP you could just go and make a shortcut to 
%PROGRAMFILES%\wpkg-gp\wpkgpipeclient.exe Execute

This would start the normal WPKG-GP process and report in a window.

Better practice though would be asking the user to just reboot - for two 
reasons:
1) Many installers expect the program to not be running during updates, 
and will react differently if it is (kill, fail or schedule reboot). 
Though there are some workarounds for that (for MSIs using /norestart and 
catching exit code 3010), it's not as reliable as you'd wish, because many 
many installers don't seem to go through proper testing.
2) If you trigger a reboot in an install definition, the user will get 
kicked out of his session unexpectedly (and forcefully). This might result 
in bad karma.

So better just pop up a message asking for a reboot and on the next boot, 
WPKG-GP will do its business.

Best Regards
Heiko-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] User initiated runs of WPKG

2012-10-10 Thread Rainer Meier

Hi Andrew,

On 10.10.2012 18:56, Andrew Struiksma wrote:

I've been trying to figure out a way to allow end users to trigger WPKG to run
when it is convenient to them. Ideally we could setup a shortcut on everyone's
Start menu so that they could click Install Updates which would
start wpkg.js. The issue I'm having with implementing this is that end users
don't have local admin rights. Has anyone figured out a way to allow users to
trigger wpkg.js with elevated privileges?


You can use WPKG client for this.
Install and configure WPKG client. Then make sure to configure it to terminate 
the service after execution.


Then use SubInACL.exe to allow users running the WPKGService service:

subinacl.exe /Service WpkgService /Grant=Users=TO

Now users can run the service using sc start WpkgService or net start 
WpkgService. Just place a cmd script/shortcut on their desktop on which they 
can click when it's convenient for them to do upgrades. They can also watch the 
progress in event-viewer as WPKG and WPKG service will print status messages there.



br,
Rainer
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] User initiated runs of WPKG

2012-10-10 Thread Andrew Struiksma
Thanks for the info, Rainer. I have some questions below:

On Wed, Oct 10, 2012 at 10:34 AM, Rainer Meier r.me...@wpkg.org wrote:

 Hi Andrew,

 On 10.10.2012 18:56, Andrew Struiksma wrote:
  Has anyone figured out a way to allow users to
  trigger wpkg.js with elevated privileges?

 You can use WPKG client for this.
 Install and configure WPKG client. Then make sure to configure it to terminate
 the service after execution.

 Then use SubInACL.exe to allow users running the WPKGService service:

 subinacl.exe /Service WpkgService /Grant=Users=TO

 Now users can run the service using sc start WpkgService or net start
 WpkgService. Just place a cmd script/shortcut on their desktop on which they
 can click when it's convenient for them to do upgrades.
 br,
 Rainer

I've been doing some research on SubInACL.exe and it appears to be
designed for use with Win XP/Server 2003. The recommendations I saw on
the forums was to migrate to icacls.exe. Do you have any info on this?

To answer Lonney's post I do agree with him however we are going to
try to approach the WPKG update process from a variety of angles
probably including Group Policies and/or scheduled tasks however we
would like to have user initiated updates as one of the options so our
help desk staff can help a user trigger an immediate upgrade.

Thanks,

Andrew
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users


Re: [wpkg-users] User initiated runs of WPKG

2012-10-10 Thread Rainer Meier

Hi Andrew,

On 10.10.2012 20:05, Andrew Struiksma wrote:

I've been doing some research on SubInACL.exe and it appears to be
designed for use with Win XP/Server 2003. The recommendations I saw on
the forums was to migrate to icacls.exe. Do you have any info on this?


Well yes, it might be advised to use iacls on Windows Vista/7/8, but 
SubInACL.exe just worked perfecly for me (using it for OpenVPN service). So I am 
using it on all OS currently. I will bother about iacls syntax when required.



br,
Rainer
-
wpkg-users mailing list archives  http://lists.wpkg.org/pipermail/wpkg-users/
___
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users