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..4f970957d50bdac0c67fdfab6ea7d609d6ab00b1 100644 |
--- a/chrome/installer/util/shell_util.cc |
+++ b/chrome/installer/util/shell_util.cc |
@@ -712,7 +712,9 @@ 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); |
base::string16 uninstall_string; |
key.ReadValue(installer::kUninstallStringField, &uninstall_string); |
CommandLine command_line = CommandLine::FromString(uninstall_string); |