Chromium Code Reviews| 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..ae54a6458e274ea4ed2562d5666451ebc8a6b2c5 100644 |
| --- a/chrome/installer/util/compat_checks.cc |
| +++ b/chrome/installer/util/compat_checks.cc |
| @@ -15,7 +15,8 @@ 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); |
| + base::win::RegKey key(HKEY_LOCAL_MACHINE, kProductKey, |
| + KEY_READ | KEY_WOW64_32KEY); |
|
grt (UTC plus 2)
2014/05/27 16:42:08
won't this miss if Symantec ever ships a 64-bit SE
Will Harris
2014/05/27 19:25:10
We're only checking for anything before 11MR3, whi
grt (UTC plus 2)
2014/05/27 22:06:19
groovy. sounds like good info for a comment in the
Will Harris
2014/05/27 22:29:28
Done.
|
| std::wstring version_str; |
| key.ReadValue(L"ProductVersion", &version_str); |
| return version_str; |