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

Unified Diff: chrome/installer/setup/setup_main.cc

Issue 282363003: Add WOW64 support to the installer registry work items (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: 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/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 57fe5e5c25a0f55cbb91dc54b2c4836a8f7dc49f..88f7bc58f7dffafc0b51399a0158a94c3e8d5626 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -264,11 +264,14 @@ installer::InstallStatus RenameChromeExecutables(
++it) {
version_key = (*it)->distribution()->GetVersionKey();
install_list->AddDeleteRegValueWorkItem(
- reg_root, version_key, google_update::kRegOldVersionField);
+ reg_root, version_key, google_update::kRegOldVersionField,
+ WorkItem::WOW64_32KEY);
install_list->AddDeleteRegValueWorkItem(
- reg_root, version_key, google_update::kRegCriticalVersionField);
+ reg_root, version_key, google_update::kRegCriticalVersionField,
+ WorkItem::WOW64_32KEY);
install_list->AddDeleteRegValueWorkItem(
- reg_root, version_key, google_update::kRegRenameCmdField);
+ reg_root, version_key, google_update::kRegRenameCmdField,
+ WorkItem::WOW64_32KEY);
}
installer::InstallStatus ret = installer::RENAME_SUCCESSFUL;
if (!install_list->Do()) {

Powered by Google App Engine
This is Rietveld 408576698