Re: auto-updater



Strong advice: *don't* try to be clever here. There may well be a very good
reason why some users are running with privilege levels that disallow them
from updating anything in their computer. Respect that. Show the user an
error message saying that their rights do not allow the update, and also
inform them what to do to make it happen.

A service that runs *all the time*, so that it can *break my company's user
rights policies*? That's reason enough to never buy anything from that
company ever again. You don't want to be in that bunch of morons, trust me.


Antti Kurenniemi

"Brad White" <bwhite_at_inebraska_dot_com@xxxxxxxxxx> wrote in message
news:mn.f48a7d77e153de93.74069@xxxxxxxxxxxxx
We have an autoupdate component that we have written.

Just one question.
What is the best way to handle the situation where
the user does not have sufficient permissions
to run the update installer?

The admin originally installed the app, but
most likely won't be running the app. Can we
leverage that in any way? Set the updater
to always run as admin somehow?

These guys have the same problem and solve it very nicely
http://www.powerprogrammer.co.uk/web-update-flash-demo/web-update-flash-demo.html

by having a service that always runs in the background
with admin priviledges, just waiting to be kicked off.
Seems like way overkill to me.
Firefox just fails if you don't have sufficient priviledges.

I don't want to store the admin password at install time,
but it wouldn't work anyway if they ever changed their password.

Any other ideas?

Thanks,
Brad.




.



Relevant Pages

  • Re: restrict reset of Admin Password
    ... only use when performing admin tasks. ... > password and leave them with group membership of server operators and ... I give these priviledges to them so that they are ... > is it better to create a temporary account and delete it afterwards ...
    (microsoft.public.win2000.security)
  • Re: Invisible Admin account
    ... The reason why they give all local users admin priviledges as opposed to just ... power user priviledges is taht we have a large amount of users that travel ... rights if they can see the account to change the password for that account. ...
    (microsoft.public.win2000.security)
  • Re: Who needs to install SP2?
    ... Or does it matter? ... >for all the other updates. ... One with Admin status, ...
    (microsoft.public.windowsxp.general)
  • Re: Issue with WMI performance counters
    ... The reason this class ... priviledges. ... Vista as everyone well knows tries to keep your logon permissions as ... The question now is why doesnt this class run under a normal user... ...
    (microsoft.public.scripting.vbscript)
  • Re: restrict reset of Admin Password
    ... administrators or domain administrators group from doing anything they want. ... Anything one admin can do, ... > account operators. ... In most cases what priviledges are given to support staff? ...
    (microsoft.public.win2000.security)