-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Upgrade does not work properly on auto-updating apps #15661
Comments
I think the question is how winget can determine the correct version. Maybe the manifest can reference a PE-file with has the correponding file version set, but that would probably mean that it only works for applications installed in their default directory. |
This appears to be related to the metadata in the manifest or the package itself. This depends on what version is stated in the latest manifest as well as the version the package reports in Add / Remove Programs. |
Is this still an issue? Hopefully Discord is reporting the version and the manifest is correctly determining when an update is available. |
I think a number of packages have this issue. In my case, they include Zotero.Zotero, Tencent.WeChat at least. This also happens for CondaForge.Mambaforge (so I guess also for other conda related packages). They don't report updated version to Windows Add / Remove Programs if updated within app. |
If packages are updating themselves, they can be excluded from |
So this is up to the package authors?
|
It would be changes to the manifests, or changes to the installers to improve the behavior during the upgrade process. The change in the manifest essentially just pushes the problem out of impact for |
I'm going to close this issue as a stale issue since it is up to the applications themselves to write the proper version information into the registry. WinGet has several features to help when this case is present such as If new applications have this issue, new issues specific to each package can be opened |
Brief description of your issue
Discord updated itself to version 1.0.9002 but winget doen't realise and thinks there is an update. When I do
winget upgrade
I get an Update for Discord but when I try to upgrade discord it says nothing to update. That could be confusing and could cause issues with self-updating apps.Steps to reproduce
winget upgrade
winget upgrade discord
orwinget upgrade discord.discord
Expected behavior
Updating discord to the newest version or ignoring the upgrade when a newer version is already installed.
Actual behavior
Discord doen't get updated / doesn't check wich version is installed?
Environment
The text was updated successfully, but these errors were encountered: