winget-cli add alternative version number field to manifest to make correlation with entries in Add/Remove programs more reliable

Description of the new feature/enhancement

As reported here, the winget upgrade command may incorrectly detect updates to be available even when the latest version is installed in case the version number in Add/Remove programs does not match the package version in the manifest.

One solution to this problem could be the addition of an additional version field to the manifest where the version number is specified in the format that is expected in Add/Remove programs. When present, the winget upgrade routine would use this version number instead of the package version to determine if an update is available or not.

This suggestion is closely related to microsoft/winget-pkgs#13620.

Asked Jan 09 '22 15:01
avatar chausner
chausner

2 Answer:

@chausner we have another issue in the client I think this is a duplicate of https://github.com/microsoft/winget-cli/issues/976.

Edit: I didn't read fully.

1
Answered May 21 '21 at 19:20
avatar  of denelon
denelon

This is part of the work we're doing with the new schema. We have added a section for data specifically matching what is reported via Apps & Features.

1
Answered Dec 01 '21 at 18:06
avatar  of denelon
denelon