microsoft / microsoft/winget-cli
Unable to uninstall winget itself.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
I cannot uninstall winget because of this property: NonRemovable: True.
I think that in many people, including me, winget or Appinstaller is not a necessary program. We can use the more powerful PowerShell as an alternative, or simply not use Appx-based programs.
Steps to reproduce
Execute command in PowerShell: Remove-AppPackage Microsoft.DesktopAppInstaller_1.18.2691.0_x64__8wekyb3d8bbwe
Expected behavior
Successfully uninstalled the program.
Actual behavior
Throw an error: 0x80073CFA
Environment
Name : Microsoft.DesktopAppInstaller
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 1.18.2691.0
PackageFullName : Microsoft.DesktopAppInstaller_1.18.2691.0_x64__8wekyb3d8bbwe
InstallLocation : C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.18.2691.0_x64__8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : True
Dependencies : {Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe, Microsoft.VCLibs.140.00.UWPDesktop_14.0.3
0704.0_x64__8wekyb3d8bbwe, Microsoft.DesktopAppInstaller_1.18.2691.0_neutral_split.language-zh-hans
_8wekyb3d8bbwe, Microsoft.DesktopAppInstaller_1.18.2691.0_neutral_split.scale-125_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
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 PowerShell Remove-AppPackage command against Microsoft.DesktopAppInstaller and investigate how the NonRemovable property and 0x80073CFA error relate to winget's packaging or platform behavior. Done would require a documented, supported way to uninstall winget or a clear determination that the request cannot be implemented by this project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100