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

Unified Diff: chrome/installer/setup/uninstall.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/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index 09a9502cb5ca600c7f939ff41171e310de259922..68442a1067170c33489af716a6f3652f3985058a 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -97,7 +97,7 @@ void AddChannelValueUpdateWorkItems(
BrowserDistribution::GetSpecificDistribution(dist_type);
update_list->AddSetRegValueWorkItem(reg_root,
other_dist->GetStateKey(),
- WorkItem::kWow64Default,
+ KEY_WOW64_32KEY,
google_update::kRegApField,
channel_info.value(),
true);
@@ -1181,12 +1181,12 @@ InstallStatus UninstallProduct(const InstallationState& original_state,
if (product.ShouldCreateUninstallEntry()) {
InstallUtil::DeleteRegistryKey(reg_root,
browser_dist->GetUninstallRegPath(),
- WorkItem::kWow64Default);
+ KEY_WOW64_32KEY);
grt (UTC plus 2) 2014/05/27 16:42:08 i think this should use the default; see comment i
}
// Remove Omaha product key.
InstallUtil::DeleteRegistryKey(reg_root, browser_dist->GetVersionKey(),
- WorkItem::kWow64Default);
+ KEY_WOW64_32KEY);
// Also try to delete the MSI value in the ClientState key (it might not be
// there). This is due to a Google Update behaviour where an uninstall and a
@@ -1281,7 +1281,7 @@ InstallStatus UninstallProduct(const InstallationState& original_state,
InstallUtil::DeleteRegistryKey(
reg_root,
shadow_app_launcher_dist->GetVersionKey(),
- WorkItem::kWow64Default);
+ KEY_WOW64_32KEY);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698