| 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..04349067162415559e606f30ca71a2c5065f8a0f 100644
|
| --- a/chrome/installer/util/installer_state.cc
|
| +++ b/chrome/installer/util/installer_state.cc
|
| @@ -742,8 +742,10 @@ void InstallerState::UpdateChannels() const {
|
| // Create the app's ClientState key if it doesn't exist.
|
| 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);
|
| + LONG result =
|
| + state_key.Create(root_key_,
|
| + state_key_.c_str(),
|
| + KEY_QUERY_VALUE | KEY_SET_VALUE | KEY_WOW64_32KEY);
|
| if (result == ERROR_SUCCESS) {
|
| channel_info.Initialize(state_key);
|
|
|
| @@ -782,8 +784,10 @@ void InstallerState::UpdateChannels() const {
|
| continue;
|
| dist = product->distribution();
|
| }
|
| - result = state_key.Create(root_key_, dist->GetStateKey().c_str(),
|
| - KEY_QUERY_VALUE | KEY_SET_VALUE);
|
| + result =
|
| + state_key.Create(root_key_,
|
| + dist->GetStateKey().c_str(),
|
| + KEY_QUERY_VALUE | KEY_SET_VALUE | KEY_WOW64_32KEY);
|
| if (result == ERROR_SUCCESS) {
|
| other_info.Initialize(state_key);
|
| if (!other_info.Equals(channel_info))
|
|
|