Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2713)

Unified Diff: chrome/installer/mini_installer/mini_installer.cc

Issue 300593002: Make omaha, gcapi and uninstall registry accesses use Wow6432Node on 64-bit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/gcapi/gcapi_reactivation_test.cc ('k') | chrome/installer/setup/install_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mini_installer/mini_installer.cc
diff --git a/chrome/installer/mini_installer/mini_installer.cc b/chrome/installer/mini_installer/mini_installer.cc
index 25b0c80413049d6618a1e153e5cb0a0460fc4ced..21208a612b4ed6448191243ceb4879c80a8a64fb 100644
--- a/chrome/installer/mini_installer/mini_installer.cc
+++ b/chrome/installer/mini_installer/mini_installer.cc
@@ -145,7 +145,9 @@ bool OpenClientStateKey(HKEY root_key, const wchar_t* app_guid, REGSAM access,
PathString client_state_key;
return client_state_key.assign(kApRegistryKeyBase) &&
client_state_key.append(app_guid) &&
- (key->Open(root_key, client_state_key.get(), access) == ERROR_SUCCESS);
+ (key->Open(root_key,
+ client_state_key.get(),
+ access | KEY_WOW64_32KEY) == ERROR_SUCCESS);
}
// This function sets the flag in registry to indicate that Google Update
« no previous file with comments | « chrome/installer/gcapi/gcapi_reactivation_test.cc ('k') | chrome/installer/setup/install_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698