Skip to content

winget upgrade --all shouldn't install the same package more than once #1105

@denelon

Description

@denelon

Description of the new feature/enhancement

Some packages support "side by side" installation. Executing winget upgrade --all shouldn't attempt to install the same "latest" version of a package more than one time.

Examples:
Cura - The .exe installs separate versions into Add / Remove Programs intentionally
Unity - microsoft/winget-pkgs#16038

Proposed technical implementation details (optional)

When the command is executed, check the list of packages to be upgraded. If the same "PackageIdentifier" is found as a possible upgrade more than one time, only execute the upgrade once.

Metadata

Metadata

Assignees

Labels

Issue-BugIt either shouldn't be doing this or needs an investigation.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions