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

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

Issue 2621933002: Move eventlog_provider.dll uninstall code to its proper location. (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/uninstall.cc
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index f19873d91caa56f45712564669d4a7927dce7a24..6115b82fbb43b3ab8265c800a208c07ebf9cce29 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -991,6 +991,10 @@ InstallStatus UninstallProduct(const InstallationState& original_state,
original_state.GetProductState(installer_state.system_install(),
browser_dist->GetType());
+ // Remove the event log provider registration as we are going to delete
+ // the file which serves the resources anyways.
+ DeRegisterEventLogProvider();
+
// Delete shared registry keys as well (these require admin rights) if
// remove_all option is specified.
if (remove_all) {
@@ -1002,10 +1006,6 @@ InstallStatus UninstallProduct(const InstallationState& original_state,
reg_path.append(installer::kChromeExe);
InstallUtil::DeleteRegistryKey(HKEY_LOCAL_MACHINE, reg_path,
WorkItem::kWow64Default);
-
- // Remove the event log provider registration as we are going to delete
- // the file which serves the resources anyways.
- DeRegisterEventLogProvider();
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698