Status: Assigned
Owner: [email protected]
Labels: Type-Feature OS-Windows Area-DevTools Pri-1

New issue 5561 by [email protected]: Channel changer needs to support  
system-level installs
http://code.google.com/p/chromium/issues/detail?id=5561

We now have some distributions that install Google Chrome as a system (not
per-user) program. This means GoogleUpdate.exe will run as system and use
HKLM instead of HKCU to store data.

The channel changer should accommodate a system install as follows:

   1. Check for the existence of
     HKCU\Software\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-
A69D9E530F96}

   2. If it exists, proceed as we do currently.

   3. Else check for
     HKLM\Software\Google\Update\ClientState\{8A69D345-D564-463C-AFF1-
A69D9E530F96}

     If it does not exist, bail out (I think we already have this bail out
code).

   4. Try to update HKLM.



Step 4 is intentionally hand-wavy.

We should check whether the user can write the ap value. On Vista, I'm not
familiar with the APIs, but we need to prompt for elevation if that's
possible.

If the user is not Admin or elevation fails, we need to bail out with a
different error message ("You must be an Administrator of this computer to
run this program.")

The admin-check is the hand-wavy part, and I leave it in Finnur's capable
hands.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to