New issue
Advanced search Search tips

Issue 812898 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Uninstalling Chrome Stable on Windows kills running Chrome Canary processes

Project Member Reported by thestig@chromium.org, Feb 15 2018

Issue description

What steps will reproduce the problem?
(1) On Windows, install 64.x Stable and 66.x Canary
(2) Start 66.x Canary
(3) Go to Windows Control Panel > Programs > Programs and Features
(4) Uninstall Chrome 64.x Stable

What is the expected result?

66.x Canary continues running.

What happens instead?

66.x Canary gets killed.
 
Owner: grt@chromium.org
Status: Assigned (was: Untriaged)
grt@: Is this expected?
With the possibility of Chrome running as a service process (chrome/service, not Mojo service) for the Cloud Print Proxy, one would want to do "killall chrome" to clean up on uninstall.

Though instead of killing all the chrome.exe processes, only kill the ones whose executable path match the path of the one being uninstalled.
This is CloseAllChromeProcesses() in chrome/installer/setup/uninstall.cc. That code looks old... possibly written before SxS installers existed?

Comment 4 by grt@chromium.org, Feb 28 2018

Owner: ----
Status: Available (was: Assigned)
This mostly happens when the stable being uninstalled is from an enterprise (.msi) installer, as --force-uninstall is always used in those cases. Yes, it would be much nicer to only kill chromen in the relevant install directory.
BTW: issue 876640 makes this behavior likely for any build with DCHECKs enabled (developer builds and/or Albatross builds). I'm working on a fix for that.

Sign in to add a comment