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

Issue 9969186: Fix removal of delegate execute registration at uninstall. (Closed)

Created:
8 years, 8 months ago by grt (UTC plus 2)
Modified:
8 years, 8 months ago
Reviewers:
robertshield
CC:
chromium-reviews, grt+watch_chromium.org
Visibility:
Public.

Description

Fix removal of delegate execute registration at uninstall. BUG=119242 TEST=install Chrome, uninstall Chrome, make sure delegate execute stuff goes away. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132495

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/installer/setup/uninstall.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
grt (UTC plus 2)
some days i'm worse than others
8 years, 8 months ago (2012-04-16 21:08:09 UTC) #1
robertshield
lgtm
8 years, 8 months ago (2012-04-16 22:41:30 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/grt@chromium.org/9969186/1
8 years, 8 months ago (2012-04-16 22:52:15 UTC) #3
gab
I just thought of something related to this. In the build I had that made ...
8 years, 8 months ago (2012-04-17 00:11:04 UTC) #4
commit-bot: I haz the power
Change committed as 132495
8 years, 8 months ago (2012-04-17 00:39:29 UTC) #5
grt (UTC plus 2)
8 years, 8 months ago (2012-04-17 00:56:54 UTC) #6
On 2012/04/17 00:11:04, gab wrote:
> I just thought of something related to this.
> 
> In the build I had that made me notice this missing uninstall I had an
> interesting thing happen to me where I made a user-level install, uninstalled
> it, made a system-level install, and then the registrations from the
user-level
> (which weren't uninstalled because of the bug fixed by this CL) had priority
> over the registrations from the system-level install (but the user-level
install
> no longer existing, I couldn't launch Chrome from the shortcut).
> 
> When we install at system-level do we perform a full uninstall of the
user-level
> chromes present to avoid these kind of problems?

Good question.  The user-level Chrome will invoke its own uninstaller when it's
launched following the installation of system-level Chrome
(http://code.google.com/searchframe#OAMlx_jo-ck/src/chrome/browser/chrome_brow...).
 This will hit the code to remove the COM registration for the delegate from
HKCU.

One thing to test, though, is the impact of this on Win8 default browserness. 
If the user-level Chrome has the special "default browser" status, it'll lose
that when it self-destructs.  I wonder what the behavior is on Win8 for the
following:

1. Install user-level Chrome and make it the default browser.
2. Install system-level Chrome (as SYSTEM or as another user)
3. Launch user-level Chrome.

Does Win8 automatically pop up the browser selection dialog?  Does IE become the
default again automatically?

Powered by Google App Engine
This is Rietveld 408576698