Index: chrome/browser/first_run/upgrade_util_win.cc |
diff --git a/chrome/browser/first_run/upgrade_util_win.cc b/chrome/browser/first_run/upgrade_util_win.cc |
index b71a87b9bc619d559db652f4ca80a32ac8c72550..8a683b4b2cb432b52401381810ae7a3f140e7f3b 100644 |
--- a/chrome/browser/first_run/upgrade_util_win.cc |
+++ b/chrome/browser/first_run/upgrade_util_win.cc |
@@ -136,11 +136,15 @@ bool RelaunchChromeHelper(const CommandLine& command_line, |
chrome_exe_command_line.SetProgram( |
chrome_exe.DirName().Append(installer::kChromeExe)); |
- if (base::win::GetVersion() < base::win::VERSION_WIN8) |
+ if (base::win::GetVersion() < base::win::VERSION_WIN8 && |
+ relaunch_mode != RELAUNCH_MODE_METRO && |
+ relaunch_mode != RELAUNCH_MODE_DESKTOP) |
return base::LaunchProcess(chrome_exe_command_line, |
base::LaunchOptions(), NULL); |
// On Windows 8 we always use the delegate_execute for re-launching chrome. |
+ // On Windows 7 we use delegate_execute for re-launching chrome into Windows |
+ // ASH. |
// |
// Pass this Chrome's Start Menu shortcut path to the relauncher so it can re- |
// activate chrome via ShellExecute which will wait until we exit. Since |