microsoft / microsoft/winget-cli

Side-by-Side installations

Open
#4,290 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Experimental Issue-Feature
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Description of the new feature / enhancement

When there are side-by-side installations, the lower version still shows 'upgrades available'.

winget upgrade
Name                                          Id                                  Version Available Source
----------------------------------------------------------------------------------------------------------
Microsoft SQL Server Management Studio - 19.3 Microsoft.SQLServerManagementStudio 19.3    20.0      winget
1 upgrades available.

I have both versions installed:

winget list
Name                                          Id                                     Version      Available Source
------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server Management Studio - 20.0 Microsoft.SQLServerManagementStudio    20.0                   winget
Microsoft SQL Server Management Studio - 19.3 Microsoft.SQLServerManagementStudio    19.3         20.0      winget
. . .
Proposed technical implementation details

If the suggested upgrade is installed, there are no upgrades available.

If there will be a 19.4+ version, then it should be flagged.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior with the winget upgrade and winget list commands shown in the issue, then locate the upgrade-selection logic for side-by-side installations. Done means an installed suggested version is not reported as an available upgrade, while a newer version such as 19.4+ is still flagged.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.