| 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();
|
| }
|
| }
|
|
|
|
|