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

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

Open kashif-khan opened this issue 2 years ago • 2 comments

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

  • First search your application

    • winget search roblox
  • Second install your application

    • winget install --accept-package-agreements --accept-source-agreements --exact --silent --id 9NBLGGGZM6WM

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

kashif-khan avatar Apr 24 '22 04:04 kashif-khan

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.

denelon avatar Apr 25 '22 14:04 denelon

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.

ItzLevvie avatar Apr 27 '22 17:04 ItzLevvie

winget search roblox doesnt even show msstore roblox for me

ImMejor35 avatar May 14 '23 15:05 ImMejor35