microsoft / microsoft/winget-cli
ElevationRequirement for specific InstallModes
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
We've spotted a issue where Silent sometimes requires Administrator where SilentWithProgress does not, therefore we need a way to set the ElevationRequirement per InstallMode.
Affected Packages
- https://github.com/microsoft/winget-pkgs/pull/56369
- https://github.com/microsoft/winget-pkgs/pull/28914
Proposed technical implementation details
I don't know of a clean way of implementing it into the Schema
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 reviewing the issue's two affected winget-pkgs pull requests and the package schema and InstallMode definitions; no source file or test is named in the issue. Done means establishing a clear schema design that allows ElevationRequirement to vary by InstallMode and addresses the Silent versus SilentWithProgress behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100