summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/installer/setup/install.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/installer/setup/install.cc b/chrome/installer/setup/install.cc
index cf7505a..d15dd27 100644
--- a/chrome/installer/setup/install.cc
+++ b/chrome/installer/setup/install.cc
@@ -98,6 +98,8 @@ void AddUninstallShortcutWorkItems(HKEY reg_root,
#ifdef CHROME_EXP_BUILD
uninstall_cmd.append(L" --");
uninstall_cmd.append(installer_util::switches::kForceUninstall);
+ uninstall_cmd.append(L" --");
+ uninstall_cmd.append(installer_util::switches::kDeleteProfile);
#endif
if (reg_root == HKEY_LOCAL_MACHINE) {
@@ -247,6 +249,8 @@ bool CreateOrUpdateChromeShortcuts(const std::wstring& exe_path,
#ifdef CHROME_EXP_BUILD
arguments.append(L" --");
arguments.append(installer_util::switches::kForceUninstall);
+ arguments.append(L" --");
+ arguments.append(installer_util::switches::kDeleteProfile);
#endif
if (system_install) {