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

Issue 10451074: Always suffix ChromeHTML entries on Windows for user-level installs. (Closed)

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

Description

Always suffix ChromeHTML entries on Windows for user-level installs. This also adds the same suffixing to Chrome's appname for Default Programs registration (this suffix is not user-facing though as we don't suffix the actual string representing Chrome in the UI... obviously!) Design doc: https://docs.google.com/a/chromium.org/document/d/1qmcV3uYBh3JwvXhYkI7asg0nN7KfVMWVOzND4p0jQ3E/edit BUG=125362, 124013, 133173 TEST=http://goo.gl/ZZ7gE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142634

Patch Set 1 #

Total comments: 3

Patch Set 2 : system level always unsuffixed and other nits #

Patch Set 3 : dont change RemoveChromeLegacyRegistryKeys()'s behavior #

Total comments: 33

Patch Set 4 : fix InstallUtil::DeleteRegistryValue #

Total comments: 3

Patch Set 5 : some comments, others pending discussion #

Patch Set 6 : better fix for InstallUtil::DeleteRegistryValue #

Total comments: 2

Patch Set 7 : nit #

Total comments: 31

Patch Set 8 : address comments + introduce ShellUtil::QuickIsChromeRegistered() #

Total comments: 25

Patch Set 9 : no UAC on uninstall if nothing in HKLM #

Total comments: 11

Patch Set 10 : addressed comments #

Total comments: 6

Patch Set 11 : nits #

Total comments: 2

Patch Set 12 : 1 space nit #

Patch Set 13 : rebase on r142136 #

Patch Set 14 : rebase on r142211 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -231 lines) Patch
M chrome/browser/shell_integration_win.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +13 lines, -15 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 3 4 5 6 7 8 9 10 17 chunks +25 lines, -22 lines 0 comments Download
M chrome/installer/setup/uninstall.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +45 lines, -48 lines 0 comments Download
M chrome/installer/util/install_util.cc View 1 2 3 4 5 6 7 2 chunks +12 lines, -13 lines 0 comments Download
M chrome/installer/util/shell_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +25 lines, -9 lines 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 21 chunks +208 lines, -123 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
gab
Another patch will follow to suffix Chrome's appid, for now this puts everything in place ...
8 years, 6 months ago (2012-05-29 23:25:09 UTC) #1
gab
@aa: Can you address the comment below (not the entire CL). Thanks, Gab https://chromiumcodereview.appspot.com/10451074/diff/1/chrome/installer/setup/uninstall.cc File ...
8 years, 6 months ago (2012-05-30 00:06:24 UTC) #2
Aaron Boodman
No idea, but I agree that we can remove old cleanup code.
8 years, 6 months ago (2012-05-30 00:09:47 UTC) #3
gab
https://chromiumcodereview.appspot.com/10451074/diff/1/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (left): https://chromiumcodereview.appspot.com/10451074/diff/1/chrome/installer/setup/uninstall.cc#oldcode681 chrome/installer/setup/uninstall.cc:681: if (roots[i] == HKEY_LOCAL_MACHINE && Ok, thanks aa@, I'll ...
8 years, 6 months ago (2012-05-30 02:45:30 UTC) #4
gab
https://chromiumcodereview.appspot.com/10451074/diff/1/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (left): https://chromiumcodereview.appspot.com/10451074/diff/1/chrome/installer/setup/uninstall.cc#oldcode681 chrome/installer/setup/uninstall.cc:681: if (roots[i] == HKEY_LOCAL_MACHINE && On 2012/05/30 02:45:31, gab ...
8 years, 6 months ago (2012-05-30 03:16:42 UTC) #5
gab
Tiny update, see below. https://chromiumcodereview.appspot.com/10451074/diff/1008/chrome/installer/util/install_util.cc File chrome/installer/util/install_util.cc (right): https://chromiumcodereview.appspot.com/10451074/diff/1008/chrome/installer/util/install_util.cc#newcode390 chrome/installer/util/install_util.cc:390: RegKey key(reg_root, key_path.c_str(), KEY_ALL_ACCESS); This ...
8 years, 6 months ago (2012-05-30 20:08:39 UTC) #6
grt (UTC plus 2)
Looks like a good direction. I need to stop for now. I'll make another full ...
8 years, 6 months ago (2012-05-30 20:37:39 UTC) #7
gab
Addressed comments (some in code, some in words). Only skipped comment about RegKey as I ...
8 years, 6 months ago (2012-05-31 06:36:01 UTC) #8
gab
See comments below. Cheers, Gab https://chromiumcodereview.appspot.com/10451074/diff/1007/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://chromiumcodereview.appspot.com/10451074/diff/1007/chrome/browser/shell_integration_win.cc#newcode77 chrome/browser/shell_integration_win.cc:77: prog_id += ShellUtil::GetCurrentInstallationSuffix(); On ...
8 years, 6 months ago (2012-06-01 00:16:01 UTC) #9
grt (UTC plus 2)
Apologies for the delay. https://chromiumcodereview.appspot.com/10451074/diff/1007/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): https://chromiumcodereview.appspot.com/10451074/diff/1007/chrome/installer/setup/uninstall.cc#newcode792 chrome/installer/setup/uninstall.cc:792: // previously installed with no ...
8 years, 6 months ago (2012-06-04 02:18:25 UTC) #10
gab
Comments addressed which gave me some insights into making an even cleaner patch I believe. ...
8 years, 6 months ago (2012-06-05 19:50:02 UTC) #11
gab
Fix a tiny thing so that with we don't pop UAC on uninstall if system ...
8 years, 6 months ago (2012-06-08 15:47:38 UTC) #12
grt (UTC plus 2)
sending partial comments now. more to come. https://chromiumcodereview.appspot.com/10451074/diff/18001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): https://chromiumcodereview.appspot.com/10451074/diff/18001/chrome/installer/util/shell_util.cc#newcode81 chrome/installer/util/shell_util.cc:81: LOOK_IN_HKCU_THEN_HKLM, this ...
8 years, 6 months ago (2012-06-08 16:24:13 UTC) #13
grt (UTC plus 2)
some more comments. i'll do my next pass after you've had a chance to process ...
8 years, 6 months ago (2012-06-08 17:51:45 UTC) #14
gab
Addressed comments, see below. Cheers, Gab http://codereview.chromium.org/10451074/diff/18001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10451074/diff/18001/chrome/installer/util/shell_util.cc#newcode81 chrome/installer/util/shell_util.cc:81: LOOK_IN_HKCU_THEN_HKLM, On 2012/06/08 ...
8 years, 6 months ago (2012-06-08 20:15:51 UTC) #15
grt (UTC plus 2)
http://codereview.chromium.org/10451074/diff/18001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10451074/diff/18001/chrome/installer/util/shell_util.cc#newcode275 chrome/installer/util/shell_util.cc:275: dist->GetAppShortCutName())); On 2012/06/08 20:15:51, gab wrote: > On 2012/06/08 ...
8 years, 6 months ago (2012-06-11 17:28:57 UTC) #16
grt (UTC plus 2)
http://codereview.chromium.org/10451074/diff/18001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10451074/diff/18001/chrome/installer/util/shell_util.cc#newcode275 chrome/installer/util/shell_util.cc:275: dist->GetAppShortCutName())); On 2012/06/11 17:28:57, grt wrote: > On 2012/06/08 ...
8 years, 6 months ago (2012-06-11 17:49:07 UTC) #17
gab
Comments addressed :)! Cheers, Gab http://codereview.chromium.org/10451074/diff/18001/chrome/installer/util/shell_util.cc File chrome/installer/util/shell_util.cc (right): http://codereview.chromium.org/10451074/diff/18001/chrome/installer/util/shell_util.cc#newcode275 chrome/installer/util/shell_util.cc:275: dist->GetAppShortCutName())); On 2012/06/11 17:28:57, ...
8 years, 6 months ago (2012-06-11 19:29:39 UTC) #18
grt (UTC plus 2)
lgtm w/ 1 nit http://codereview.chromium.org/10451074/diff/18015/chrome/installer/setup/uninstall.cc File chrome/installer/setup/uninstall.cc (right): http://codereview.chromium.org/10451074/diff/18015/chrome/installer/setup/uninstall.cc#newcode823 chrome/installer/setup/uninstall.cc:823: browser_dist, chrome_exe, suffix))) { nit: ...
8 years, 6 months ago (2012-06-13 17:31:47 UTC) #19
gab
Nit fixed. Waiting for testing of all of: Always suffix ChromeHTML entries on Windows for ...
8 years, 6 months ago (2012-06-13 20:00:47 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/10451074/31001
8 years, 6 months ago (2012-06-16 18:55:58 UTC) #21
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
8 years, 6 months ago (2012-06-16 21:18:29 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/10451074/31001
8 years, 6 months ago (2012-06-17 06:51:27 UTC) #23
commit-bot: I haz the power
8 years, 6 months ago (2012-06-17 07:54:25 UTC) #24
Change committed as 142634

Powered by Google App Engine
This is Rietveld 408576698