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

Issue 11267023: Implementing --app-launcher install/uninstall flow. (Closed)

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

Description

Implement --app-launcher to register the Chrome App Launcher in Add/Remove Programs. "setup.exe --app-launcher --multi-install" installs the Chrome App Host "with App Launcher experience". At the moment this means a presence in Add/Remove Programs and a modified AP value for the App Host ClientState key. Subsequent CL will also create a shortcut on the task bar. BUG=151626 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165478

Patch Set 1 #

Total comments: 27

Patch Set 2 : Removing shortcut install (will do in different CL), but keeping some refactoring. #

Total comments: 19

Patch Set 3 : Cleanup; adding localized strings to ChromeAppHostDistribution. #

Patch Set 4 : Delaying some cleanup tasks for next CL. #

Total comments: 10

Patch Set 5 : Nits; added localized string for App Launcher uninstall shortcut. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -28 lines) Patch
M chrome/app/chromium_strings.grd View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/installer/mini_installer/configuration.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/installer/util/channel_info.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/installer/util/channel_info.cc View 4 chunks +11 lines, -0 lines 0 comments Download
M chrome/installer/util/chrome_app_host_distribution.cc View 1 2 3 4 2 chunks +9 lines, -11 lines 0 comments Download
M chrome/installer/util/chrome_app_host_operations.cc View 1 2 5 chunks +21 lines, -6 lines 0 comments Download
M chrome/installer/util/installation_validator.cc View 2 chunks +18 lines, -7 lines 0 comments Download
M chrome/installer/util/master_preferences.cc View 1 2 4 chunks +14 lines, -3 lines 0 comments Download
M chrome/installer/util/master_preferences_constants.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/installer/util/master_preferences_constants.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/util/prebuild/create_string_rc.py View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/installer/util/util_constants.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/installer/util/util_constants.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
huangs
Here is the work-in-progress. PTAL. The main description describes in detail what currently work and ...
8 years, 1 month ago (2012-10-24 22:59:30 UTC) #1
erikwright (departed)
On Wed, Oct 24, 2012 at 6:59 PM, <huangs@chromium.org> wrote: > Reviewers: erikwright, benwells, > ...
8 years, 1 month ago (2012-10-25 01:58:30 UTC) #2
erikwright (departed)
At first glance, looks pretty good. I think you need to set some kind of ...
8 years, 1 month ago (2012-10-25 02:23:03 UTC) #3
benwells
On 2012/10/25 02:23:03, erikwright wrote: > At first glance, looks pretty good. > > I ...
8 years, 1 month ago (2012-10-25 04:50:37 UTC) #4
benwells
Oops forgot this... https://codereview.chromium.org/11267023/diff/1/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11267023/diff/1/chrome/installer/setup/install.cc#newcode388 chrome/installer/setup/install.cc:388: // TODO(huangs): Append switches::kUserDataDir, perhaps? I ...
8 years, 1 month ago (2012-10-25 04:50:51 UTC) #5
grt (UTC plus 2)
the part where the app host is either an app host or an app launcher ...
8 years, 1 month ago (2012-10-25 14:46:51 UTC) #6
huangs
PTAL. We decided to reduce the scope of this CL, and not create any shortcuts ...
8 years, 1 month ago (2012-10-29 21:15:16 UTC) #7
grt (UTC plus 2)
lg https://codereview.chromium.org/11267023/diff/1/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11267023/diff/1/chrome/installer/setup/install.cc#newcode390 chrome/installer/setup/install.cc:390: string16(L"--").append(ASCIIToUTF16(::switches::kShowAppList))); On 2012/10/29 21:15:16, huangs1 wrote: > Done. ...
8 years, 1 month ago (2012-10-30 13:02:55 UTC) #8
erikwright (departed)
LG. Is this really all that's required to get the Add/Remove registration? If so, kudos ...
8 years, 1 month ago (2012-10-30 14:20:39 UTC) #9
grt (UTC plus 2)
https://codereview.chromium.org/11267023/diff/9001/chrome/installer/util/chrome_app_host_operations.cc File chrome/installer/util/chrome_app_host_operations.cc (right): https://codereview.chromium.org/11267023/diff/9001/chrome/installer/util/chrome_app_host_operations.cc#newcode100 chrome/installer/util/chrome_app_host_operations.cc:100: if (set && channel_info->SetAppHost(false)) On 2012/10/30 14:20:39, erikwright wrote: ...
8 years, 1 month ago (2012-10-30 14:29:22 UTC) #10
gab
I don't think this will work as far as showing up in Add/Remove Programs is ...
8 years, 1 month ago (2012-10-30 16:50:21 UTC) #11
erikwright (departed)
On 2012/10/30 16:50:21, gab wrote: > I don't think this will work as far as ...
8 years, 1 month ago (2012-10-30 16:53:12 UTC) #12
grt (UTC plus 2)
On 2012/10/30 16:50:21, gab wrote: > I don't think this will work as far as ...
8 years, 1 month ago (2012-10-30 17:24:46 UTC) #13
huangs
When I ran the new code, the uninstall entry DID appear, and appears to do ...
8 years, 1 month ago (2012-10-30 17:46:55 UTC) #14
gab
On 2012/10/30 17:24:46, grt wrote: > On 2012/10/30 16:50:21, gab wrote: > > I don't ...
8 years, 1 month ago (2012-10-30 18:10:15 UTC) #15
huangs
PTAL. https://codereview.chromium.org/11267023/diff/9001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11267023/diff/9001/chrome/installer/setup/install.cc#newcode356 chrome/installer/setup/install.cc:356: // |base_properties|: The basic properties to set on ...
8 years, 1 month ago (2012-10-30 20:35:07 UTC) #16
gab
https://codereview.chromium.org/11267023/diff/9001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11267023/diff/9001/chrome/installer/setup/install.cc#newcode356 chrome/installer/setup/install.cc:356: // |base_properties|: The basic properties to set on every ...
8 years, 1 month ago (2012-10-30 21:30:39 UTC) #17
huangs
https://codereview.chromium.org/11267023/diff/9001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11267023/diff/9001/chrome/installer/setup/install.cc#newcode356 chrome/installer/setup/install.cc:356: // |base_properties|: The basic properties to set on every ...
8 years, 1 month ago (2012-10-30 21:38:39 UTC) #18
huangs
uninstall.cc and install.cc now excluded form this CL. PTAL.
8 years, 1 month ago (2012-10-30 21:59:33 UTC) #19
erikwright (departed)
https://codereview.chromium.org/11267023/diff/9001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://codereview.chromium.org/11267023/diff/9001/chrome/installer/setup/install.cc#newcode356 chrome/installer/setup/install.cc:356: // |base_properties|: The basic properties to set on every ...
8 years, 1 month ago (2012-10-30 22:53:52 UTC) #20
grt (UTC plus 2)
lgtm
8 years, 1 month ago (2012-10-31 17:41:48 UTC) #21
erikwright (departed)
LGTM with a few nits. http://codereview.chromium.org/11267023/diff/24001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): http://codereview.chromium.org/11267023/diff/24001/chrome/app/chromium_strings.grd#newcode221 chrome/app/chromium_strings.grd:221: Chromium App Launcher is ...
8 years, 1 month ago (2012-10-31 19:41:12 UTC) #22
huangs
PTAL. https://codereview.chromium.org/11267023/diff/24001/chrome/app/chromium_strings.grd File chrome/app/chromium_strings.grd (right): https://codereview.chromium.org/11267023/diff/24001/chrome/app/chromium_strings.grd#newcode221 chrome/app/chromium_strings.grd:221: Chromium App Launcher is a standalone platform for ...
8 years, 1 month ago (2012-10-31 20:49:31 UTC) #23
erikwright (departed)
LGTM. I modified the issue description to something more appropriate for the commit logs. I ...
8 years, 1 month ago (2012-11-01 00:05:38 UTC) #24
huangs
I found many issues, but that was when I only used ninja build (no manifests). ...
8 years, 1 month ago (2012-11-01 03:55:03 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/11267023/37003
8 years, 1 month ago (2012-11-01 03:55:46 UTC) #26
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
8 years, 1 month ago (2012-11-01 08:53:03 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/11267023/37003
8 years, 1 month ago (2012-11-01 19:10:54 UTC) #28
commit-bot: I haz the power
8 years, 1 month ago (2012-11-01 19:55:07 UTC) #29
Change committed as 165478

Powered by Google App Engine
This is Rietveld 408576698