Winget-cli: Can't uninstall winget-cli

Created on 20 May 2020  路  3Comments  路  Source: microsoft/winget-cli

Brief description of your issue

It is not possible to uninstall winget-cli

Steps to reproduce

  • download winget-cli from GitHub release page and install
  • Open "Add or remove programs" (Apps & features) in Windows, search for winget and click uninstall

Expected behavior

winget-cli is no longer available, can be installed again.

Actual behavior

winget-cli is still available. Trying to install it again shows the message "App Installer is already installed".

It no longer shows up in "Add or remove programs" though.

Environment

Windows Package Manager v0.1.41331 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.18362.836
Package: Microsoft.DesktopAppInstaller v1.0.41331.0
Issue-Feature

Most helpful comment

Get-AppXPackage Microsoft.DesktopAppInstaller | Remove-AppXPackage

All 3 comments

Get-AppXPackage Microsoft.DesktopAppInstaller | Remove-AppXPackage

Thanks for providing the work around. It is a interesting issue.

But the problem is AppInstaller (the UWP portion of this) is the builtin APPX/MSIX handler, it is the UI show up when you double click a APPX/MSIX file. You'll lost this functionally if you uninstall AppInstaller.

I always wonder why winget is bundled inside AppInstaller though.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sob picture sob  路  5Comments

jasperweiss picture jasperweiss  路  3Comments

Callidior picture Callidior  路  5Comments

jessehouwing picture jessehouwing  路  5Comments

AdilHindistan picture AdilHindistan  路  3Comments