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

Issue 10889028: Install a user-level Start Menu shortcut for every user on system-installs through Active Setup (Closed)

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

Description

Install a user-level Start Menu shortcut for every user on system-installs through Active Setup Re-enable Active Setup This is a hack to make this work while the bigger refactoring is under way (http://goo.gl/Az889). BUG=132825 TEST=Ensure Start Menu tile appears for the installing user and for subsequent users logging in. Ensure no duplicate in Start Menu on all versions of Windows.

Patch Set 1 #

Total comments: 16

Patch Set 2 : address comments #

Patch Set 3 : comments + exit code + create shell notify #

Total comments: 31

Patch Set 4 : grt comments #

Total comments: 10

Patch Set 5 : merge with r153166 #

Patch Set 6 : grt comments and better InstallStatus #

Patch Set 7 : DFATAL and TODO #

Patch Set 8 : initialization at top #

Patch Set 9 : oops build failures! #

Patch Set 10 : remove TODO for Notify #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -29 lines) Patch
M base/file_util_win.cc View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -9 lines 1 comment Download
M chrome/installer/setup/install.h View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/installer/setup/install.cc View 1 2 3 4 5 3 chunks +44 lines, -1 line 0 comments Download
M chrome/installer/setup/install_worker.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 3 4 5 6 7 8 5 chunks +16 lines, -9 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 3 4 5 6 7 3 chunks +28 lines, -5 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 4 2 chunks +12 lines, -4 lines 0 comments Download
M chrome/installer/util/util_constants.h View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
gab
Good news, shadowing the global shortcut works on Win8 (yet to try other Windows). Weird ...
8 years, 3 months ago (2012-08-29 16:46:18 UTC) #1
robertshield
Code lgtm, please test manually and ask QA to check it out when it's in. ...
8 years, 3 months ago (2012-08-29 16:59:30 UTC) #2
grt (UTC plus 2)
http://codereview.chromium.org/10889028/diff/1/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): http://codereview.chromium.org/10889028/diff/1/chrome/installer/setup/install.cc#newcode361 chrome/installer/setup/install.cc:361: if (!file_util::PathExists(start_menu_user_level)) no need for this check, as CreateDirectory ...
8 years, 3 months ago (2012-08-29 17:07:06 UTC) #3
gab
Addressed comments, but I've been testing for the rest of the afternoon and it doesn't ...
8 years, 3 months ago (2012-08-29 21:52:59 UTC) #4
gab
Few more things. PTAL. Thanks, Gab
8 years, 3 months ago (2012-08-31 20:19:36 UTC) #5
grt (UTC plus 2)
did it work? https://chromiumcodereview.appspot.com/10889028/diff/11001/base/file_util_win.cc File base/file_util_win.cc (right): https://chromiumcodereview.appspot.com/10889028/diff/11001/base/file_util_win.cc#newcode460 base/file_util_win.cc:460: else add braces here and to ...
8 years, 3 months ago (2012-09-01 03:20:28 UTC) #6
gab
Addressed comments. The current status is that the Active Setup + per-user shortcut + SCHNE_CREATE ...
8 years, 3 months ago (2012-09-01 22:28:40 UTC) #7
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10889028/diff/11001/base/file_util_win.cc File base/file_util_win.cc (right): https://chromiumcodereview.appspot.com/10889028/diff/11001/base/file_util_win.cc#newcode461 base/file_util_win.cc:461: // TODO(gab): Only use SHCNE_ASSOCCHANGED when the icon changed. ...
8 years, 3 months ago (2012-09-02 14:18:18 UTC) #8
gab
PTAL. https://chromiumcodereview.appspot.com/10889028/diff/23001/chrome/installer/setup/install.cc File chrome/installer/setup/install.cc (right): https://chromiumcodereview.appspot.com/10889028/diff/23001/chrome/installer/setup/install.cc#newcode351 chrome/installer/setup/install.cc:351: BrowserDistribution* browser_dist = product.distribution(); On 2012/09/02 14:18:19, grt ...
8 years, 3 months ago (2012-09-02 16:15:12 UTC) #9
gideonwald
On 2012/09/02 16:15:12, gab wrote: > PTAL. > > https://chromiumcodereview.appspot.com/10889028/diff/23001/chrome/installer/setup/install.cc > File chrome/installer/setup/install.cc (right): > ...
8 years, 3 months ago (2012-09-04 03:39:51 UTC) #10
gab
On 2012/09/04 03:39:51, gideonwald wrote: > On 2012/09/02 16:15:12, gab wrote: > > PTAL. > ...
8 years, 3 months ago (2012-09-04 13:29:28 UTC) #11
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10889028/diff/23001/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (right): https://chromiumcodereview.appspot.com/10889028/diff/23001/chrome/installer/setup/setup_main.cc#newcode1096 chrome/installer/setup/setup_main.cc:1096: DCHECK(installer_state->system_install()); On 2012/09/02 16:15:12, gab wrote: > On 2012/09/02 ...
8 years, 3 months ago (2012-09-04 13:29:59 UTC) #12
gab
Done. https://chromiumcodereview.appspot.com/10889028/diff/23001/chrome/installer/setup/setup_main.cc File chrome/installer/setup/setup_main.cc (right): https://chromiumcodereview.appspot.com/10889028/diff/23001/chrome/installer/setup/setup_main.cc#newcode1096 chrome/installer/setup/setup_main.cc:1096: DCHECK(installer_state->system_install()); On 2012/09/04 13:29:59, grt wrote: > On ...
8 years, 3 months ago (2012-09-04 15:40:36 UTC) #13
gab
Oops build errors :)! PTAAHLL (Please take another and hopefully last look)! Cheers, Gab
8 years, 3 months ago (2012-09-04 16:07:17 UTC) #14
grt (UTC plus 2)
https://chromiumcodereview.appspot.com/10889028/diff/11001/base/file_util_win.cc File base/file_util_win.cc (right): https://chromiumcodereview.appspot.com/10889028/diff/11001/base/file_util_win.cc#newcode461 base/file_util_win.cc:461: // TODO(gab): Only use SHCNE_ASSOCCHANGED when the icon changed. ...
8 years, 3 months ago (2012-09-04 18:44:35 UTC) #15
gab
Done. Investigating how IE gets its shortcut out there some more. https://chromiumcodereview.appspot.com/10889028/diff/11001/base/file_util_win.cc File base/file_util_win.cc (right): ...
8 years, 3 months ago (2012-09-04 18:51:07 UTC) #16
grt (UTC plus 2)
lgtm
8 years, 3 months ago (2012-09-04 19:15:39 UTC) #17
Sigurður Ásgeirsson
drive-by https://chromiumcodereview.appspot.com/10889028/diff/11014/base/file_util_win.cc File base/file_util_win.cc (right): https://chromiumcodereview.appspot.com/10889028/diff/11014/base/file_util_win.cc#newcode461 base/file_util_win.cc:461: SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL); Is it not sufficient ...
8 years, 3 months ago (2012-09-10 18:52:32 UTC) #18
gab
8 years, 1 month ago (2012-10-30 22:37:05 UTC) #19
All relevants part of this CL were done as part of http://crbug.com/148539

Closing.

Powered by Google App Engine
This is Rietveld 408576698