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

Issue 300593002: Make omaha, gcapi and uninstall registry accesses use Wow6432Node on 64-bit (Closed)

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

Description

Omaha configuration parameters now use Wow6432Node (32-bit registry) on 64-bit installs. GCAPI configuration parameters also use these same accesses since they read/write the same data. Also, force installation of Win64 into C:\Program Files (x86) until the code is added to support moving the files to the right place during upgrade and downgrade. Uninstall information will remain stored in the 32-bit registry (even on 64-bit) until the installation location is changed. This fixes system installs on Win64. BUG=338706 R=grt@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273108

Patch Set 1 #

Patch Set 2 : move the uninstall registry access to 32-bit #

Total comments: 29

Patch Set 3 : code review changes #

Patch Set 4 : all gcapi registry accesses are to 32-bit hive. #

Patch Set 5 : comment nits #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -148 lines) Patch
M chrome/installer/gcapi/gcapi.cc View 1 2 3 6 chunks +15 lines, -9 lines 0 comments Download
M chrome/installer/gcapi/gcapi_last_run_test.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/installer/gcapi/gcapi_reactivation.cc View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M chrome/installer/gcapi/gcapi_reactivation_test.cc View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/installer/mini_installer/mini_installer.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chrome/installer/setup/install_worker.cc View 1 2 3 4 28 chunks +61 lines, -60 lines 0 comments Download
M chrome/installer/setup/setup_main.cc View 1 2 1 chunk +11 lines, -7 lines 0 comments Download
M chrome/installer/setup/uninstall.cc View 1 2 3 chunks +6 lines, -7 lines 0 comments Download
M chrome/installer/util/app_command.cc View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/installer/util/compat_checks.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/installer/util/google_update_settings.cc View 1 2 14 chunks +36 lines, -23 lines 0 comments Download
M chrome/installer/util/helper.cc View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/installer/util/install_util.cc View 1 2 6 chunks +15 lines, -12 lines 0 comments Download
M chrome/installer/util/installation_state.cc View 1 2 5 chunks +7 lines, -7 lines 0 comments Download
M chrome/installer/util/installer_state.cc View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/installer/util/product.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/installer/util/shell_util.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
Will Harris
grt@ can you take a preliminary look at this CL - for moving the Omaha ...
6 years, 7 months ago (2014-05-26 17:53:23 UTC) #1
grt (UTC plus 2)
On 2014/05/26 17:53:23, Will Harris wrote: > grt@ can you take a preliminary look at ...
6 years, 7 months ago (2014-05-27 13:53:25 UTC) #2
grt (UTC plus 2)
On 2014/05/27 13:53:25, grt wrote: > On 2014/05/26 17:53:23, Will Harris wrote: > > grt@ ...
6 years, 7 months ago (2014-05-27 14:03:30 UTC) #3
grt (UTC plus 2)
https://codereview.chromium.org/300593002/diff/20001/chrome/installer/mini_installer/mini_installer.cc File chrome/installer/mini_installer/mini_installer.cc (right): https://codereview.chromium.org/300593002/diff/20001/chrome/installer/mini_installer/mini_installer.cc#newcode136 chrome/installer/mini_installer/mini_installer.cc:136: KEY_QUERY_VALUE | KEY_WOW64_32KEY) == ERROR_SUCCESS && this function is ...
6 years, 6 months ago (2014-05-27 16:42:08 UTC) #4
grt (UTC plus 2)
have a look in chrome/installer/gcapi, too.
6 years, 6 months ago (2014-05-27 16:47:59 UTC) #5
Will Harris
we spoke about the uninstall key. I'm going to leave the uninstall key in the ...
6 years, 6 months ago (2014-05-27 19:25:09 UTC) #6
Will Harris
On 2014/05/27 19:25:09, Will Harris wrote: > we spoke about the uninstall key. I'm going ...
6 years, 6 months ago (2014-05-27 19:41:42 UTC) #7
grt (UTC plus 2)
the formatting change mixed in with the other changes makes it difficult to review. in ...
6 years, 6 months ago (2014-05-27 22:06:18 UTC) #8
Will Harris
Sorry about the blended formatting. Thanks for the quick review! https://codereview.chromium.org/300593002/diff/20001/chrome/installer/setup/install_worker.cc File chrome/installer/setup/install_worker.cc (right): https://codereview.chromium.org/300593002/diff/20001/chrome/installer/setup/install_worker.cc#newcode801 ...
6 years, 6 months ago (2014-05-27 22:29:28 UTC) #9
Will Harris
The CQ bit was checked by wfh@chromium.org
6 years, 6 months ago (2014-05-28 01:41:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wfh@chromium.org/300593002/70001
6 years, 6 months ago (2014-05-28 01:42:21 UTC) #11
Will Harris
The CQ bit was unchecked by wfh@chromium.org
6 years, 6 months ago (2014-05-28 01:52:06 UTC) #12
Will Harris
6 years, 6 months ago (2014-05-28 01:54:49 UTC) #13
Message was sent while issue was closed.
Committed patchset #6 manually as r273108 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698