microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.36k stars 1.45k forks source link

Search found results but install could not find the package. "No package found matching input criteria." #2117

Open kashif-khan opened 2 years ago

kashif-khan commented 2 years ago

Brief description of your issue

Winget search found the results but when we try to install the app it does not work. winget search roblox

image

Although I am able to install it via Microsoft Store.

image

Steps to reproduce

Expected behavior

Give appropriate error messages of why it could not find and install.

Actual behavior

Does not give a reason why it could not find a package to install. Even verbose logs does not give out any detail.

Environment

Windows Package Manager v1.2.10271
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19042.1645
Package: Microsoft.DesktopAppInstaller v1.17.10271.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links               
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
denelon commented 2 years ago

Do you get the same results with winget install Roblox -s msstore?

Is your machine locale configured for the United States or another country?

There are some subtle differences in how the Windows Package Manager and the Microsoft Store UI behave. I'm trying to isolate what might be happening.

ItzLevvie commented 2 years ago

I can reproduce on my side and it's probably related to https://github.com/microsoft/winget-cli/issues/1833.

Some of the affected games: 1) Halo Infinite (doesn't require money) 2) Candy Crush Saga (doesn't require money) 3) Roblox (doesn't require money) 4) Minecraft Launcher (doesn't require money) 5) Forza Horizon 4 Demo (doesn't require money) 6) Destiny 2 (doesn't require money) 7) Homescapes (doesn't require money) 8) Gardenscapes (doesn't require money) 9) The Tribez (doesn't require money) 10) Microsoft Solitaire Collection (doesn't require money)

These games show up in winget search but returns No package found matching input criteria. when doing a winget install using the msstore source.

ImMejor35 commented 1 year ago

winget search roblox doesnt even show msstore roblox for me