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

Issue 11359219: Configure system-level Chrome settings (i.e. install its shortcuts) immediately following self-dest… (Closed)

Created:
8 years, 1 month ago by gab
Modified:
8 years, 1 month ago
CC:
chromium-reviews, grt+watch_chromium.org
Visibility:
Public.

Description

Configure system-level Chrome settings (i.e. install its shortcuts) immediately following self-destruction of a user-level Chrome. Also refactor RemoveShortcut() to use base::win::ResolveShortcut() instead of coming up with its own method (which I'm scared could still hold handles to the shortcut when trying to delete it; doesn't seem to have been a problem, but I'd rather be safe). 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. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168080

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -14 lines) Patch
M chrome/installer/setup/uninstall.cc View 1 chunk +12 lines, -0 lines 2 comments Download
M chrome/installer/util/shell_util.cc View 1 chunk +6 lines, -14 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
gab
Sir, PTAL. Fixes a ReleaseBlocker-Stable. Testing this I feel that we should also launch system-level ...
8 years, 1 month ago (2012-11-15 00:44:20 UTC) #1
robertshield
lgtm
8 years, 1 month ago (2012-11-15 20:24:09 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11359219/1
8 years, 1 month ago (2012-11-15 20:26:50 UTC) #3
commit-bot: I haz the power
Change committed as 168080
8 years, 1 month ago (2012-11-15 23:45:51 UTC) #4
grt (UTC plus 2)
https://codereview.chromium.org/11359219/diff/1/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/11359219/diff/1/chrome/installer/setup/uninstall.cc#newcode1281 chrome/installer/setup/uninstall.cc:1281: HandleActiveSetupForBrowser(system_chrome_path, product, true); this will do active setup for ...
8 years, 1 month ago (2012-11-16 04:32:32 UTC) #5
gab
https://codereview.chromium.org/11359219/diff/1/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://codereview.chromium.org/11359219/diff/1/chrome/installer/setup/uninstall.cc#newcode1281 chrome/installer/setup/uninstall.cc:1281: HandleActiveSetupForBrowser(system_chrome_path, product, true); On 2012/11/16 04:32:32, grt wrote: > ...
8 years, 1 month ago (2012-11-16 04:51:20 UTC) #6
grt (UTC plus 2)
On 2012/11/16 04:51:20, gab wrote: > For now this only installs shortcuts so it's fine ...
8 years, 1 month ago (2012-11-16 05:07:21 UTC) #7
gab
8 years, 1 month ago (2012-11-16 20:38:51 UTC) #8
On 2012/11/16 05:07:21, grt wrote:
> On 2012/11/16 04:51:20, gab wrote:
> > For now this only installs shortcuts so it's fine
> 
> "it's fine" -> "it works today".  it won't work reliably in the future unless
> the active setup tasks are carved in stone.

Agreed, restarting a new CL at https://codereview.chromium.org/11420045 to call
the system-level's Active Setup command instead of doing it as part of the
user-level's uninstall flow.

Powered by Google App Engine
This is Rietveld 408576698