microsoft / microsoft/winget-cli

FEATURE: Please only show the winget version as the version

Open
#5,292 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Brief description of your feature request

If you install AnyDesk.AnyDesk 9.0.4 with winget (version 1.10.340) and then want to check if it's installed, it reports ad 9.0.4 in the version column instead of just 9.0.4. In my opinion winget should do it's best to parse the registry value (that AnyDesk apparently is setting to ad 9.0.4) to the version that matches the version number in winget.

If you install version 9.0.4 but the vendor is putting xyz 9.0.4 what ever else in the registry, the winget list command should just report 9.0.4, maybe with an extra --show-raw parameter to give the user extra columns with the raw value.

Steps to reproduce
  1. winget install AnyDesk.AnyDesk --source winget
  2. winget list --id AnyDesk.AnyDesk --exact --source winget
Expected behavior

I would expect the output to be:

Name    Id              Version  Source
----------------------------------------
AnyDesk AnyDesk.AnyDesk 9.0.4    winget
Actual behavior

The output is (with the ad in the version column):

Name    Id              Version  Source
----------------------------------------
AnyDesk AnyDesk.AnyDesk ad 9.0.4 winget
Environment
Windows Package Manager v1.10.34
Windows.Desktop v10.0.26100.3194
Microsoft.DesktopAppInstaller v1.25.340.0

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

Start with the winget list command and the registry value used for AnyDesk's installed version. Determine how the reported version is selected and how the proposed raw-value option would fit the existing output. Done means winget list reports 9.0.4 for this case while preserving a way to view the raw value.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.