Skip to content
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

Use of winget search --id <<msstoreId>> doesn't work unless --exact is provided also. #5104

Open
mjr4077au opened this issue Jan 2, 2025 · 0 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source

Comments

@mjr4077au
Copy link

Brief description of your issue

Attempting to find WinGet packages from the msstore source by id fails every time unless --exact is passed along with it. This does not occur for winget sourced packages.

Steps to reproduce

  1. winget search --id 9N0DX20HK701
  2. ...observe no package found.
  3. winget search --id 9N0DX20HK701 -exact
  4. ...observe package is found.

Expected behavior

C:\Users\mjr40\Repos\PSAppDeployToolkit\src>winget search --id 9N0DX20HK701
Name             Id           Version Source
----------------------------------------------
Windows Terminal 9N0DX20HK701 Unknown msstore

C:\Users\mjr40\Repos\PSAppDeployToolkit\src>winget search --id 9N0DX20HK701 --exact
Name             Id           Version Source
----------------------------------------------
Windows Terminal 9N0DX20HK701 Unknown msstore

Actual behavior

C:\Users\mjr40\Repos\PSAppDeployToolkit\src>winget search --id 9N0DX20HK701
No package found matching input criteria.

C:\Users\mjr40\Repos\PSAppDeployToolkit\src>winget search --id 9N0DX20HK701 --exact
Name             Id           Version Source
----------------------------------------------
Windows Terminal 9N0DX20HK701 Unknown msstore

Environment

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

Windows: Windows.Desktop v10.0.26100.2605
System Architecture: Arm64
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                C:\Mac\Home\Downloads

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

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Jan 2, 2025
@denelon denelon added Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source and removed Needs-Triage Issue need to be triaged labels Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. msstore Issue related to "msstore" REST source
Projects
None yet
Development

No branches or pull requests

2 participants