microsoft / microsoft/winget-cli
[New Feature]: Hints for controlled folder access
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
I had an installer crash (see https://github.com/microsoft/winget-pkgs/pull/68036) because Windows Controlled Folder Access blocked the installer from creating a folder in %userprofile%\Documents (even while I was running it from an Administrator terminal).
There was no useful information on the console - I just got Installer failed with exit code: 2.
Proposed technical implementation details
A way to let winget know through the manifest that the installer needs access to specific folders, so that the crash can be prevented or so?
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
No source files, tests, or entry points are named. Start by reviewing the linked winget-pkgs pull request and the Controlled Folder Access documentation, then determine the manifest and installer behavior that would need to change; the issue does not define a concrete completion criterion.
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
- Needs clarification
- Newbie friendliness
- 25/100