diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 16:59:41 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 16:59:41 +0000 |
commit | 34021274343928d048f01bc39e7dbbe8481de880 (patch) | |
tree | b268ee5d9f38315d055c940dd54e16a8d9ef4f1e /chrome/installer | |
parent | 562256a8a15993a689a5846ecd4be6fcf2ab4dc4 (diff) | |
download | chromium_src-34021274343928d048f01bc39e7dbbe8481de880.zip chromium_src-34021274343928d048f01bc39e7dbbe8481de880.tar.gz chromium_src-34021274343928d048f01bc39e7dbbe8481de880.tar.bz2 |
Cause experimental builds to delete profile information on uninstall.
Review URL: http://codereview.chromium.org/201115
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26226 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/setup/install.cc | 4 |
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) { |