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

Unified Diff: chrome/installer/util/installer_state.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: move the uninstall registry access to 32-bit 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
Index: chrome/installer/util/installer_state.cc
diff --git a/chrome/installer/util/installer_state.cc b/chrome/installer/util/installer_state.cc
index e6cc475e5e40ad3bb44ecda8127bea74dbe3fac6..f9adc1d382e7418b77342502779f40f0654ca672 100644
--- a/chrome/installer/util/installer_state.cc
+++ b/chrome/installer/util/installer_state.cc
@@ -743,7 +743,7 @@ void InstallerState::UpdateChannels() const {
ChannelInfo channel_info;
base::win::RegKey state_key;
LONG result = state_key.Create(root_key_, state_key_.c_str(),
- KEY_QUERY_VALUE | KEY_SET_VALUE);
+ KEY_QUERY_VALUE | KEY_SET_VALUE | KEY_WOW64_32KEY);
if (result == ERROR_SUCCESS) {
channel_info.Initialize(state_key);
@@ -783,7 +783,7 @@ void InstallerState::UpdateChannels() const {
dist = product->distribution();
}
result = state_key.Create(root_key_, dist->GetStateKey().c_str(),
- KEY_QUERY_VALUE | KEY_SET_VALUE);
+ KEY_QUERY_VALUE | KEY_SET_VALUE | KEY_WOW64_32KEY);
if (result == ERROR_SUCCESS) {
other_info.Initialize(state_key);
if (!other_info.Equals(channel_info))

Powered by Google App Engine
This is Rietveld 408576698