Windows Installer incorrect version number
Categories
(Release Engineering :: Release Automation, enhancement, P3)
Tracking
(firefox109 affected, firefox110 affected)
People
(Reporter: bugzilla.mozilla.org, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
23.54 KB,
image/png
|
Details |
Steps to reproduce:
Use the windows package manager to check for updates via winget upgrade
or listing the installed software via winget list
Actual results:
The version number of the currently installed version of firefox in incorrectly reported.
It shows 103.0 instead of 103.0b9 which makes winget think that it's outdated and suggest updating it.
The error occures because the installer incorrectly sets the registry value HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Firefox Developer Edition 103.0 (x64 en-US)\DisplayVersion to "103.0" instead of the correct version "103.0b9". Manually changing this value works around the issue until the next update.
Expected results:
Correct version number of 103.0b9 being reported.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Installer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 years ago
|
||
This is not an officially supported distribution mechanism, so I'm not surprised if there's issues or lack of updates. We've got https://bugzilla.mozilla.org/show_bug.cgi?id=1647859 open about more properly supporting this. If/when we do, making sure that version updates are detected properly is important of course.
That registry key is set by the installer. It winget is just reading the verion it writes into the registry. I just mentioned winget because it is one of the many tools that rely upon that information being provided correctly.
I've attached a screenshot of the native system menu "Installed Apps" that also shows this incorrect information (without the use of any other tools).
Maybe this helps to clarify what I'm talking about.
Comment 5•3 years ago
|
||
I will confirm this report and an enhancement based on comment 2.
Updated•1 year ago
|
Description
•