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

Unified Diff: chrome/installer/setup/setup_main.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: rebase 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
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 9440759264528e37839076ca3270b96e71057e6e..d6f91458800d7dc584cd502ad67c48c7cf10c981 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -263,15 +263,19 @@ installer::InstallStatus RenameChromeExecutables(
for (Products::const_iterator it = products.begin(); it < products.end();
++it) {
version_key = (*it)->distribution()->GetVersionKey();
+ install_list->AddDeleteRegValueWorkItem(reg_root,
+ version_key,
+ KEY_WOW64_32KEY,
+ google_update::kRegOldVersionField);
install_list->AddDeleteRegValueWorkItem(
- reg_root, version_key, WorkItem::kWow64Default,
- google_update::kRegOldVersionField);
- install_list->AddDeleteRegValueWorkItem(
- reg_root, version_key, WorkItem::kWow64Default,
+ reg_root,
+ version_key,
+ KEY_WOW64_32KEY,
google_update::kRegCriticalVersionField);
- install_list->AddDeleteRegValueWorkItem(
- reg_root, version_key, WorkItem::kWow64Default,
- google_update::kRegRenameCmdField);
+ install_list->AddDeleteRegValueWorkItem(reg_root,
+ version_key,
+ KEY_WOW64_32KEY,
+ google_update::kRegRenameCmdField);
}
installer::InstallStatus ret = installer::RENAME_SUCCESSFUL;
if (!install_list->Do()) {
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698