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
23.25k stars 1.45k forks source link

WinGet download installs more than one bundle. It should be latest #4644

Open KevinLaMS opened 3 months ago

KevinLaMS commented 3 months ago

Brief description of your issue

I am trying to download an app from the store. Unless I specify a version, I expect to have a single app. I actually get 2 or more.

Steps to reproduce

winget download 9WZDNCRFJ3PZ -d c:\temp\deleteme\9WZDNCRFJ3PZ C:\temp\deleteme>dir c:\temp\deleteme\9WZDNCRFJ3PZ /b

Company Portal_User_X64_msstore_en-us.yaml Dependencies Microsoft.CompanyPortal_11.2.448.0neutral~_8wekyb3d8bbwe.appxbundle Microsoft.CompanyPortal_2021.602.1826.0neutral~_8wekyb3d8bbwe.appxbundle

Expected behavior

i should only have one package. That one should be latest: Microsoft.CompanyPortal_11.2.448.0neutral~_8wekyb3d8bbwe.appxbundle

Actual behavior

multiple packages downloaded Microsoft.CompanyPortal_11.2.448.0neutral~_8wekyb3d8bbwe.appxbundle Microsoft.CompanyPortal_2021.602.1826.0neutral~_8wekyb3d8bbwe.appxbundle

Environment

Windows Package Manager (Preview) v1.9.1792-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26255.5000
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.1792.0
AmirTerani commented 2 months ago

Any update on this? I'm running in to this issue as well. Thank you.