Commit 9ea4c487 authored by grt@chromium.org's avatar grt@chromium.org

Fix system-level toast regression.

http://crrev.com/93034 missed an option.

BUG=114101
TEST=install system-level chrome (at HH:MM C:\some\path\mini_installer.exe --system-level --verbose-logging --multi-install --chrome), set brand="CHXX" in HKLM\SOFTWARE\Google\Update\ClientState\{8A69D345-D564-463c-AFF1-A69D9E530F96}, then update chrome (at HH:MM C:\some\newer\mini_installer.exe --system-level --verbose-logging --multi-install) and see that the toast appears.  Also make sure it still works for user-level installs.
TBR=cpu@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10832031

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148542 0039d316-1c4b-4281-b951-d872f2087c98
parent 0e14f17d
...@@ -280,6 +280,7 @@ bool LaunchSetupAsConsoleUser(const FilePath& setup_path, ...@@ -280,6 +280,7 @@ bool LaunchSetupAsConsoleUser(const FilePath& setup_path,
base::LaunchOptions options; base::LaunchOptions options;
options.as_user = user_token; options.as_user = user_token;
options.inherit_handles = true; options.inherit_handles = true;
options.empty_desktop_name = true;
VLOG(1) << __FUNCTION__ << " launching " << cmd_line.GetCommandLineString(); VLOG(1) << __FUNCTION__ << " launching " << cmd_line.GetCommandLineString();
bool launched = base::LaunchProcess(cmd_line, options, NULL); bool launched = base::LaunchProcess(cmd_line, options, NULL);
::CloseHandle(user_token); ::CloseHandle(user_token);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment