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

[Side-By-Side] List by package identifier fails

Open Trenly opened this issue 3 years ago • 0 comments

Brief description of your issue

I am well aware of the uninstall issues with side by side packages and the CLI not being able to disambiguate between package versions. However, winget list shouldn't need to disambiguate and should be unaffected by side-by-side installs.

Using winget list <PackageId> fails with side-by-side applications, even though listing by name succeeds

Steps to reproduce

Install multiple versions of a single package identifier. Run winget list <PackageId>

Expected behavior

All versions of the package identifier to be listed

Actual behavior

Logs.zip

PS C:\WINDOWS\system32>  winget list microsoft.windowssdk
No installed package found matching input criteria.
PS C:\WINDOWS\system32>  winget list windowssdk
No installed package found matching input criteria.
PS C:\WINDOWS\system32> winget list "Windows software development kit"
Name                                                      Id                   Version          Available
------------------------------------------------------------------------------------------------------------
Windows Software Development Kit - Windows 10.0.18362.1   Microsoft.WindowsSDK < 10.0.22000.832 10.0.22621.2
Windows Software Development Kit - Windows 10.0.19041.685 Microsoft.WindowsSDK < 10.0.22000.832 10.0.22621.2
Windows Software Development Kit - Windows 10.0.22000.832 Microsoft.WindowsSDK 10.0.22000.832   10.0.22621.2
Windows Software Development Kit - Windows 10.0.22621.1   Microsoft.WindowsSDK 10.0.22621.1     10.0.22621.2
PS C:\WINDOWS\system32> winget list Microsoft.WindowsSDK
No installed package found matching input criteria.

Environment

PS C:\WINDOWS\system32> winget --info
Windows Package Manager (Preview) v1.4.3132-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.2251
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.3132.0

Trenly avatar Nov 28 '22 16:11 Trenly