microsoft / microsoft/winget-cli

Add `<PACKAGEVERSION>` token

Open
#4,494 0 comments 3 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

With .zip installers, there are many instances where the relative file path to the exe or installer file between versions only changes based upon the version number. It would be useful if a token could be specified as part of the relative file path which is replaced with the package version.

This could also be useful for InstallationMetadata

A final use case could also be in URLs like ReleaseNotesUrl

Proposed technical implementation details

RelativeFilePath: .\setup\Package.1.2.3.exe => RelativeFilePath: .\setup\Package.<PACKAGEVERSION>.exe

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

No files, tests, or entry points are named. Start by locating how RelativeFilePath, InstallationMetadata, and ReleaseNotesUrl values are processed for .zip installers. Done means the token is replaced with the package version in the stated relative-path case and the other proposed uses are addressed or explicitly scoped.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.