diff options
author | gab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-21 18:36:56 +0000 |
---|---|---|
committer | gab@chromium.org <gab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-21 18:36:56 +0000 |
commit | cad885474f005f5c59c9ce7ee196fee3ffd63789 (patch) | |
tree | b8952c1f2e6abcac78f8963007d7801afe095797 /chrome/installer/util/install_util.h | |
parent | 1c7ad57056be169ed75bee91e82d7ba4442fcb4f (diff) | |
download | chromium_src-cad885474f005f5c59c9ce7ee196fee3ffd63789.zip chromium_src-cad885474f005f5c59c9ce7ee196fee3ffd63789.tar.gz chromium_src-cad885474f005f5c59c9ce7ee196fee3ffd63789.tar.bz2 |
Launch system-level Active Setup immediately following self-destruction of a user-level Chrome.
1st attempt at https://codereview.chromium.org/11359219/ was reverted (see comments post commit on that CL).
TBR=thakis
BUG=158524
TEST=Install user-level Chrome on user A, install system-level Chrome on user B (while A is still logged in), go back to user A and run Chrome, user-level Chrome self-destructs and new shortcuts are installed pointing to system-level Chrome.
Try with: user A's chrome never ran, user A's Chrome ran and is set to prefer desktop chrome, user A's Chrome ran and is set to prefer Metro mode.
Review URL: https://chromiumcodereview.appspot.com/11420045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/install_util.h')
-rw-r--r-- | chrome/installer/util/install_util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/installer/util/install_util.h b/chrome/installer/util/install_util.h index a258815..c7c4495 100644 --- a/chrome/installer/util/install_util.h +++ b/chrome/installer/util/install_util.h @@ -32,9 +32,9 @@ class InstallUtil { // e.g. Software\Microsoft\Active Setup\Installed Components\<dist_guid> static string16 GetActiveSetupPath(BrowserDistribution* dist); - // Attempts to trigger the command that would be triggered for Chrome on - // Active Setup. This will be a no-op for user-level installs. - static void TriggerActiveSetupCommandIfNeeded(); + // Attempts to trigger the command that would be run by Active Setup for a + // system-level Chrome. For use only when system-level Chrome is installed. + static void TriggerActiveSetupCommand(); // Launches given exe as admin on Vista. static bool ExecuteExeAsAdmin(const CommandLine& cmd, DWORD* exit_code); |