microsoft / microsoft/winget-cli
[Feature Request] Keep install location when upgrading packages not originally installed by winget
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Description of the new feature/enhancement
Some previously manually installed packages (like Pandoc) get installed into the default install location when upgrading instead of their current location. I propose keeping the install location when upgrading.
Also, such an upgrade results in 2 versions being present after the upgrade so maybe this should be in the bug category.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing package upgrade handling in the winget CLI and compare behavior for manually installed packages such as Pandoc. Done means an upgrade preserves the existing install location and does not leave two versions; the issue names no specific file or test.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100