Index: chrome/installer/util/shell_util.cc |
diff --git a/chrome/installer/util/shell_util.cc b/chrome/installer/util/shell_util.cc |
index 43de6fafde41ce36d6020d8cf01134432e0180a0..8e7772edee2b1022ffc8af81e06a033ac4cf291a 100644 |
--- a/chrome/installer/util/shell_util.cc |
+++ b/chrome/installer/util/shell_util.cc |
@@ -712,7 +712,8 @@ bool ElevateAndRegisterChrome(BrowserDistribution* dist, |
if (!base::PathExists(exe_path)) { |
HKEY reg_root = InstallUtil::IsPerUserInstall(chrome_exe.c_str()) ? |
HKEY_CURRENT_USER : HKEY_LOCAL_MACHINE; |
- RegKey key(reg_root, dist->GetUninstallRegPath().c_str(), KEY_READ); |
+ RegKey key(reg_root, dist->GetUninstallRegPath().c_str(), |
+ KEY_READ | KEY_WOW64_32KEY); |
grt (UTC plus 2)
2014/05/27 16:42:08
i think this should be in the default; see other c
Will Harris
2014/05/27 19:25:10
see general comment on 32/64 uninstall.
|
base::string16 uninstall_string; |
key.ReadValue(installer::kUninstallStringField, &uninstall_string); |
CommandLine command_line = CommandLine::FromString(uninstall_string); |