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
22.5k stars 1.39k forks source link

Issue with --exact feature not working as expected #4503

Closed raberge closed 2 weeks ago

raberge commented 1 month ago

Brief description of your issue

We are encountering issues using --exact to run a list \ show \ upgrade \ install command of winget - Winget falsely identifies the wrong ID \ Name even if it's matching. See the attached example for the List command. this affects our scripts later also with show \ install \ upgrade. Screenshot 2024-05-23 at 4 27 48 PM

Steps to reproduce

Please see attached.

Expected behavior

The result based on the screenshot should be Foxit PDF Editor if that is installed and none if it's not

Actual behavior

Showing Foxit PDF Viewer where the command did not specify it.

Environment

Latest Winget version. 
WIndows 10 or 11 .
denelon commented 1 month ago

@raberge can you share verbose WinGet logs for this example? I'd like to determine if it's an installer related issue, a WinGet manifest related issue, or if it's actually a bug in WinGet.

microsoft-github-policy-service[bot] commented 3 weeks ago

Hello @raberge,

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.

Template: msftbot/noRecentActivity