microsoft / microsoft/winget-pkgs
[Bug]: Uninstalling Microsoft.VC++2015-2022Redist-x64 causes reboot
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 376
Description
Brief description of your issue
When uninstalling Microsoft.VC++2015-2022Redist-x64 the computer gets rebooted without warning.
Steps to reproduce
winget uninstall --id Microsoft.VC++2015-2022Redist-x64
Expected behavior
winget uninstall failing with a message of "reboot required to perform uninstall"
Actual behavior
Computer gets rebooted and all apps get force closed and all users logged out.
Environment
[winget --info]
Windows Package Manager (Preview) v1.2.3411-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22509.1011
Package: Microsoft.DesktopAppInstaller v1.17.3411.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior with winget uninstall --id Microsoft.VC++2015-2022Redist-x64 on the stated Windows environment. Trace how the uninstall command handles an installer that requires a reboot, and verify that it reports the requirement without rebooting or closing user applications.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100