Open Lonniebiz opened 2 months ago
This nullsoft
installer does not write version information to the Windows Registry. Maybe it's the reason.
[!NOTE]
Although I add
AppsAndFeaturesEntries
to the manifest, there's still noDisplayVersion
andPublisher
information written to Windows Registry.AppsAndFeaturesEntries: - DisplayName: Dia DisplayVersion: 0.97.2 Publisher: gnome
It's the "upgrade always available" situation again. https://github.com/microsoft/winget-pkgs/issues/173833#issuecomment-2356158107
Please confirm these before moving forward
Category of the issue
Other
Brief description of your issue
WinGet forgets the installed version of gnome.Dia immediately after upgrading, leading to unnecessary repeated upgrades in subsequent runs.
Steps to reproduce
winget install dia --scope machine --source winget
to install Dia if not already installedwinget upgrade --all --include-unknown
winget upgrade --all --include-unknown
againActual behavior
Winget successfully upgrades gnome.Dia to the latest available version. However, it immediately "forgets" this version information. In subsequent runs, even immediately after an upgrade, the Version column remains "Unknown" for gnome.Dia. This results in winget repeatedly offering to upgrade gnome.Dia to the same version in every run, creating a loop of unnecessary upgrades.
Expected behavior
After a successful upgrade, winget should remember and correctly display the installed version of gnome.Dia. Subsequent winget upgrade commands should not offer to upgrade gnome.Dia unless a newer version is actually available. The Version column should show the correct installed version, and gnome.Dia should only be listed for upgrade when there's a genuine new version available.
Environment
Screenshots and Logs
No response