summaryrefslogtreecommitdiffstats
path: root/chrome/installer/setup/uninstall.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/setup/uninstall.cc')
-rw-r--r--chrome/installer/setup/uninstall.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index 3e071e4..d7bac76 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -267,8 +267,10 @@ installer_util::InstallStatus installer_setup::UninstallChrome(
if (!DeleteFilesAndFolders(exe_path, system_uninstall, installed_version))
return installer_util::UNINSTALL_FAILED;
- LOG(INFO) << "Uninstallation complete. Launching Uninstall survey.";
- dist->DoPostUninstallOperations(installed_version);
+ if (!force_uninstall) {
+ LOG(INFO) << "Uninstallation complete. Launching Uninstall survey.";
+ dist->DoPostUninstallOperations(installed_version);
+ }
return installer_util::UNINSTALL_SUCCESSFUL;
}