winget-cli icon indicating copy to clipboard operation
winget-cli copied to clipboard

Improve Uninstall Confidence

Open denelon opened this issue 3 years ago • 1 comments

Description of the new feature / enhancement

The Windows Package Manager runs the uninstall command found in the registry. Additional improvements can be made to validate that a package was uninstalled correctly in addition to just running the command.

The manifest can be enriched with a "defaultInstallLocation" key and a "primaryExecutable" key. These values can be used to determine if the package has been uninstalled.

There are also likely edge cases when applications do not provide these hints in the registry, or the applications have been installed in non-default locations.

Proposed technical implementation details

No response

denelon avatar Jun 17 '22 22:06 denelon

I would say the edge case is related to:

  • #1512

Trenly avatar Jun 18 '22 01:06 Trenly