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

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

Issue 10451074: Always suffix ChromeHTML entries on Windows for user-level installs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: no UAC on uninstall if nothing in HKLM Created 8 years, 6 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 ad881c2fcc8b4eb62451416f7c43be0123776f92..7f6bf0ca5b9d828375e116c2cd802a904ccf5675 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -724,8 +724,10 @@ installer::InstallStatus InstallProductsHelper(
(install_status == installer::IN_USE_UPDATED)) {
const Product* chrome = installer_state.FindProduct(
BrowserDistribution::CHROME_BROWSER);
- if (chrome != NULL)
- installer::RemoveChromeLegacyRegistryKeys(chrome->distribution());
+ if (chrome != NULL) {
+ installer::RemoveChromeLegacyRegistryKeys(chrome->distribution(),
+ chrome_exe);
grt (UTC plus 2) 2012/06/08 17:51:46 i don't think this |chrome_exe| is what you think
gab 2012/06/08 20:15:52 Ah right, it was quoted above, good catch, fixed..
+ }
}
}
}

Powered by Google App Engine
This is Rietveld 408576698