microsoft / microsoft/winget-cli

Add `--override` to `uninstall`

Open
#4,700 2 comments 0 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

Current only install provides an option to pass a string directly to the installer. It would be useful to have this option also for the uninstall process.

Use cases:

  • installation was done with override and now required for the uninstallation
  • buggy uninstaller which required special input
  • simple workaround for more difficult implementations like #1885#
  • manually provide silent flag for uninstallers which do not set a silentuninstall registry entry #1368
Proposed technical implementation details

Same as install.

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 tracing the existing override option for install and the uninstall command entry point. Compare how the two commands accept and pass installer arguments; done means uninstall supports the same override behavior as install and the relevant CLI checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.