WGet.NET icon indicating copy to clipboard operation
WGet.NET copied to clipboard

Winget Issue with --exact not matching exact packages

Open MrHinsh opened this issue 1 year ago • 3 comments

I have an issue where if I use --exact there are no packages returned, even though the string exactly matches the package. This means that GetInstalledPackages is not working as intended.

image

Also submitted to Winget:

https://github.com/microsoft/winget-cli/issues/4632

MrHinsh avatar Jul 12 '24 12:07 MrHinsh

I changed my code to be without exact and filtered manually.

MrHinsh avatar Jul 12 '24 13:07 MrHinsh

Thank you for the information, we probably need to wait for this problem to be fixed in WinGet but I will take a look at it too.

basicx-StrgV avatar Jul 23 '24 15:07 basicx-StrgV

I have added an alternative exact method for getting installed packages, without using WinGet’s exact functionality as a workaround for this issue.

https://github.com/basicx-StrgV/WGet.NET/releases/tag/4.2.0

basicx-StrgV avatar Sep 11 '24 20:09 basicx-StrgV

I’m closing the issue for now. If there are still Problems with this or anything else, feel free to open another issue.

basicx-StrgV avatar Mar 14 '25 23:03 basicx-StrgV