-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Cancelling uninstallation on Windows breaks VPN #35006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
cc: @bsclifton @simonhong |
Checking this |
The above requires |
Verification PASSED on
Reproduced the original issue on
Using the STR/Cases outlined via #35006 (comment) & brave/brave-core#21478 (comment), ensured that VPN service hasn't been removed via
|
Verification
Reproduced the original issue on
Using the STR/Cases outlined via #35006 (comment) & brave/brave-core#21478 (comment), ensured that VPN service hasn't been removed via
|
Description
The uninstallation process on Windows removes the VPN services even if the user cancels the uninstaller.
The cause of the problem lies in our implementation of
UninstallProduct
. It removes the VPN services immediately, before calling the upstream implementation. But upstream has special handling for when the uninstallation process gets canceled. Our implementation therefore does not handle this case properly.Steps to Reproduce
Actual result:
An alert is shown saying that the VPN helper service is not running.
The reason is that the VPN services were already uninstalled before we canceled the uninstallation prompt.
Expected result:
VPN should "just work", without the alert being shown.
Reproduces how often:
Always.
Brave version (brave://version info)
1.61.104 64 bit Windows.
Version/Channel Information:
Release.
The text was updated successfully, but these errors were encountered: