New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 625322 link

Starred by 6 users

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Unhelpful error when failing to install user level Chrome over system level Chrome

Project Member Reported by rpop@chromium.org, Jul 1 2016

Issue description

OS: Win10

1. attempted to install Chrome dev channel x64 on top of Chrome stable channel x86 (which was a system level install), while logged in to Windows as a Standard User.
2. got UAC prompt, declined it
3. got attached error message

Expected: an actionable error telling me to try again as Administrator and/or install Canary instead, or for the "Help" button to lead to relevant content.

@borisv, grt: as part of scrubbing update failure errors and improving help center content, let's also take a look at installer errors.

UserAgentString: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36



 
error3.png
3.8 KB View Download

Comment 1 by grt@chromium.org, Jul 12 2016

Components: Internals>Installer
I think that the expected behavior is that the existing Chrome should have been launched without showing an error message.

Comment 2 by gab@chromium.org, Jul 12 2016

Ah indeed, grt's right, not sure why there's an error than. Can someone test this with plain installers and then with Google Update installers? Maybe they do extra detection that we don't want them to?

Comment 3 by grt@chromium.org, Jul 20 2016

Cc: -grt@chromium.org
Owner: grt@chromium.org
Status: Started (was: Available)
I think I see the problem. The launch happens as desired, but setup.exe reports it as a failure rather than a success to GU.

Comment 4 by grt@chromium.org, Jul 20 2016

Cc: gan...@chromium.org
ganesh: This is happening because Chrome's installer writes InstallerResult=1 (INSTALLER_RESULT_FAILED_CUSTOM_ERROR) in this case. I think the intent was for Chrome's installer to write 0 (INSTALLER_RESULT_SUCCESS). Changing this is simple enough. My question is: is this enough? In this case, Chrome will be telling GU via InstallerResult that the install succeeded, yet there will be no HKCU\...\Clients\{...}\pv in the registry since the per-user installer will have launched the existing per-machine Chrome. Can you tell how GU will handle this? The desire is for there to be no error UX from GU since Chrome's installer will launch Chrome for the user. Thanks.

Comment 5 by grt@chromium.org, Jul 21 2016

Cc: grt@chromium.org robertshield@chromium.org
 Issue 144864  has been merged into this issue.

Comment 6 by gan...@chromium.org, Jul 21 2016

I think Omaha would show the user an error if HKCU\...\Clients\{...}\pv is not written. How about writing a custom InstallerResultUIString that tells the user that Chrome is already installed for all users?

Comment 7 by grt@chromium.org, Aug 19 2016

Cc: sorin@google.com
 Issue 104519  has been merged into this issue.

Comment 9 by grt@chromium.org, Aug 31 2016

As Robert pondered in the code review, the new Chrome instance does indeed open over the GU dialog that says "Google Chrome is already installed for all users on your computer." I think this is an improvement over "The installer encountered error 3", and may be the right thing: the user was trying to install Chrome, and a Chrome window opened. Yes, they'll see a dialog behind it informing them that they already had Chrome. I'll work on having this message added to those listed in https://support.google.com/chrome/answer/6315198?hl=en&rd=1, which is what the "Help" button on that dialog leads the user to.

Comment 10 by grt@chromium.org, Oct 25 2016

Status: Fixed (was: Started)
The new help text has gone live at https://support.google.com/chrome/answer/6315198. Calling this fixed.

Sign in to add a comment