Hello,
Please install Microsoft App Installer from the Microsoft Store and you should be able to use winget.
Let me know how this goes.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
HOW DO i REINSTALL winget ?
***moved from Windows / Windows 10 / Files, folders, and storage***
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.
Hello,
Please install Microsoft App Installer from the Microsoft Store and you should be able to use winget.
Let me know how this goes.
Hi Paul,
What happens when you run Winget? To reinstall it, please open admin PowerShell and run this command:
get-appxpackage -allusers *DesktopAppInstaller* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
This reinstalls the App Installer package, which includes WinGet.
Post the output here.
If the app installer package is missing from the system, you can download and install it from the Store:
get-appxpackage -allusers DesktopAppInstaller | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Add-AppxPackage : Deployment failed with HRESULT: 0x80073D02, The package could not be installed because resources it
modifies are currently in use.
error 0x80073D02: Unable to install because the following apps need to be closed
Microsoft.DesktopAppInstaller_1.24.25200.0_x64__8wekyb3d8bbwe.
NOTE: For additional information, look for [ActivityId] 378fde60-5c6b-0003-6af4-a6376b5cdb01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 378fde60-5c6b-0003-6af4-a6376b5cdb01
At line:1 char:61
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Download the WinGet offline installer from here.
https://github.com/microsoft/winget-cli/release...
You can reinstall it by double-clicking (since the App Installer package is already installed).
If that doesn't work, install it using this PowerShell command:
Add-ProvisionedAppPackage -online -PackagePath "C:\DesktopAppInstaller.msixbundle" -skiplicense
Assuming you've stored the msixbundle "DesktopAppInstaller.msixbundle" in the C:\ drive root.
C:\Windows\System32>winget install Winget-AutoUpdate-aaS XP89BSK82W9J28
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Winget-AutoUpdate-aaS
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: XP89BSK82W9J28