winget-cli
winget-cli copied to clipboard
Switch for --uninstallPrevious for upgrade
Description of the new feature / enhancement
The upgrade behavior can be set to uninstall the previous version of the application by default in the manifest. Usually, upgrade behavior is set to install unless uninstallPrevious is needed for a specific reason.
As a power user there are times when it would be nice to override the behavior and uninstall the previous package anyways. One example is when a user has a local build of wingetcreate, the application will show for upgrade but cannot be upgraded unless it is uninstalled and re-installed.
This would also allow for the bypassing/overriding of the Install Technology Differs error by forcing a clean install
Proposed technical implementation details
No response
@denelon - Experimental