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

Unified Diff: chrome/test/mini_installer_test/chrome_mini_installer.cc

Issue 99204: Try --force-uninstall param to see if that fixes installer tests. (Closed)
Patch Set: Created 11 years, 8 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 | chrome/test/mini_installer_test/test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/mini_installer_test/chrome_mini_installer.cc
diff --git a/chrome/test/mini_installer_test/chrome_mini_installer.cc b/chrome/test/mini_installer_test/chrome_mini_installer.cc
index 93bdf3d2c04eb59f4a4e63bd48073b727e9ba1ca..0da0b76bcac67ce206999ecefee3d6ba68088048 100644
--- a/chrome/test/mini_installer_test/chrome_mini_installer.cc
+++ b/chrome/test/mini_installer_test/chrome_mini_installer.cc
@@ -209,12 +209,12 @@ void ChromeMiniInstaller::UnInstall() {
}
ASSERT_TRUE(file_util::PathExists(uninstall_path));
std::wstring uninstall_args = L"\"" + uninstall_path +
- L"\"" + L" -uninstall";
+ L"\"" + L" --uninstall --force-uninstall";
if (install_type_ == mini_installer_constants::kSystemInstall)
- uninstall_args = uninstall_args + L" -system-level";
+ uninstall_args = uninstall_args + L" --system-level";
base::LaunchApp(uninstall_args, false, false, NULL);
- printf("Launched setup.exe -uninstall....\n");
- ASSERT_TRUE(CloseUninstallWindow());
+ printf("Launched setup.exe --uninstall --force-uninstall....\n");
+ // ASSERT_TRUE(CloseUninstallWindow());
WaitUntilProcessStopsRunning(
mini_installer_constants::kChromeSetupExecutable);
printf("\n\nUninstall Checks:\n\n");
« no previous file with comments | « no previous file | chrome/test/mini_installer_test/test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698