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

Unified Diff: chrome/installer/util/compat_checks.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/util/app_command.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/compat_checks.cc
diff --git a/chrome/installer/util/compat_checks.cc b/chrome/installer/util/compat_checks.cc
index ef50f61ef01c781392b3d0c8f6667cd66217509a..52a70a68e9f4a89bc4f24de005efde6344e45946 100644
--- a/chrome/installer/util/compat_checks.cc
+++ b/chrome/installer/util/compat_checks.cc
@@ -15,7 +15,9 @@ namespace {
std::wstring GetSEPVersion() {
const wchar_t kProductKey[] =
L"SOFTWARE\\Symantec\\Symantec Endpoint Protection\\SMC";
- base::win::RegKey key(HKEY_LOCAL_MACHINE, kProductKey, KEY_READ);
+ // Versions before 11MR3 were always 32-bit, so check in the 32-bit hive.
+ base::win::RegKey key(
+ HKEY_LOCAL_MACHINE, kProductKey, KEY_READ | KEY_WOW64_32KEY);
std::wstring version_str;
key.ReadValue(L"ProductVersion", &version_str);
return version_str;
« no previous file with comments | « chrome/installer/util/app_command.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698