How does Chrome update without UAC
c#
Solution
Chrome installs a Windows Service, which is always running and preforms the update. The service runs as SYSTEM and so can perform the update without UAC prompt.
See:
- https://support.google.com/installer/answer/98805?hl=en
- http://omaha.googlecode.com/svn/wiki/OmahaOverview.html (Execution model section)
Problem
I just try to understand the Google update service (aka Omaha) and can't find any information about how Omaha updates Chrome without the UAC Prompt?! Or without any Administrator privileges. I am looking for a way to lunch a update service that can Update a Application in the Program folder (without UAC / Administrator privileges) just like Omaha does, but i can't find any documentation regarding that topic. Tried browsing the source code a bit thought but i couldn't find anything that helps. In fact only the Installation should require Administrator Rights, but the update should not. Any "easy" way to achieve this in C#?