Skip to content

Switch for --uninstallPrevious for upgrade #2727

@Trenly

Description

@Trenly

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ExperimentalThis experimental feature can be enabled in settingsIssue-FeatureThis is a feature request for the Windows Package Manager client.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions