microsoft / microsoft/winget-cli

InstallerSwitches field for Agreements

Open
#3,997 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Manifest 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

Some applications have agreements, but also require a switch that goes with those agreements in order to install silently.

Instead of putting that special switch into Silent or Custom, it would be best if there were a switch type for Agreements that would be added when a user has agreed to the package agreements.

Proposed technical implementation details

If the Default Locale has agreements, and user accepts package agreements, add the switch to the installer

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 locating the installer switch handling and the code that processes package agreements, then trace how the Default Locale exposes agreements. Determine where an Agreements switch type would be represented and applied after the user accepts the agreements. Done means the switch is added for packages with agreements without requiring it in Silent or Custom, with relevant behavior covered by tests if existing installer tests are found.

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.