-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add alternative version number field to manifest to make correlation with entries in Add/Remove programs more reliable #980
Comments
I moved this to be a feature in the client. |
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. |
We're going to use this Issue to represent the work to start looking at the version in the AppsAndFeatures section of the manifest (if it is populated) rather than the PackageVersion for version comparison. PackageVersion: # Used for version comparison if no DisplayVersion key is present
- AppsAndFeatures
DisplayVersion: # Used for version comparison if the key is present |
When we have an installed package and the manifest in the repository uses the AppsAndFeatures version we need a rational way to display the "somewhat unknown" "displayVersion" to the user. The example below is contrived, but is intended to illustrate the syntax we're considering using. We're thinking of using "> " for the
We're thinking of using "< " for the
|
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.
The text was updated successfully, but these errors were encountered: