winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Unable to uninstall winget itself.

Open fxzxmicah opened this issue 3 years ago • 0 comments

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

fxzxmicah avatar Oct 28 '22 07:10 fxzxmicah