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 5e33c5e11e1912a1c8b24fc3a6fe74c82576f039..f9557eed91394d11425af2c529c7f5106353d2a3 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 |