microsoft / microsoft/winget-cli

Allow versions to be defined by .exe metadata in manifest file

Open
#3,134 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

I suggest to allow manifestst to reference metadata of installed software.
As mentioned in https://github.com/microsoft/winget-cli/issues/3133 not every tool has the proper registry value that winget seems to reference, however I noticed that often the installed applications .exe has metadata like "file version" or "product version". As users cannot select the patch for winget setups, it would be easy for a manifest developer to point to a .exe, define a metadata field like "product version" and thereby get the required information of the version currently installed.

Proposed technical implementation details

No response

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 by reviewing issue 3133 and the manifest behavior described here. Determine how a manifest could reference an installed .exe and whether its file version or product version can supply the installed version; done means the manifest can express that metadata lookup reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.