-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winget command tool is NOT installed by installing "App Installer" in Microsoft Store #1793
Comments
What version of "App Installer" do you have? Mine says 1.16.13405.0 when running: (Get-AppxPackage -Name 'Microsoft.DesktopAppInstaller').'Version' (WIN + R => "powershell" and press enter, then ^)
Windows 10 Pro 21H2, 19044.1387. Edit: Alias or not, you should see "winget.exe" in following location:
And "AppInstallerCLI.exe" in following location, requires running as admin.
|
Is |
In reply to @o-l-a-v Hope my answer is human-readable :) O/S just installed (ie even before Microsoft Store was ever opened for the 1st time)
Open Microsoft Store for the first time. Verified that "App Installer" is indicated as installed in Microsoft Store
Open "App Installer" again in Microsoft Store and wait for it to update this app (and it really takes ages...)
|
BEFORE update in Microsoft Store AFTER update in Microsoft Store |
The version of App Installer coming in the Windows 10 distribution is the original version that shipped with Windows 10. It does take time for everything to synchronize and for the store to determine an update is available. Once you have the most recent version of App Installer on the system. The Windows Package Manager is available. This also holds true for Windows 11. We are working to be a part of the original distribution for the next update to Windows 11 so the Windows Package Manager can be present before getting an updated App Installer. |
FYI: It is possible to write some script code to programmatically (and synchronously) trigger those updates: #1738 (reply in thread) |
I agree. Automation is good. But we need to wait for an undetermined period of time. Being able to trigger those things is even better. |
For those, who can't really find a solution for that.
|
Brief description of your issue
I install "App Installer" shown in Microsoft Store. But typing "winget" in PowerShell still shows that the term 'winget' is not recognized.
Steps to reproduce
Expected behavior
Expected to get the blah blah blah about winget command tool
Actual behavior
Environment
No "winget --info" can be provided because it's NOT installed
winver ==> "Version 21H2 (OS Build 19044.1288)
Comment
When App Installer is installed by Microsoft Store for the first time, winget does not work. We have to wait for an undetermined amount time and suddenly Microsoft Store would say it has found some update for App Installer. Then we have to wait for about 15 minutes to let Microsoft Store to download and install (again?) App Installer. After this, winget works.
Something is very obscure in the relationship between App Installer and Microsoft Store.
The text was updated successfully, but these errors were encountered: