Open Bug 1780135 Opened 3 years ago Updated 1 year ago

Windows Installer incorrect version number

Categories

(Release Engineering :: Release Automation, enhancement, P3)

Desktop
Windows
enhancement

Tracking

(firefox109 affected, firefox110 affected)

Tracking Status
firefox109 --- affected
firefox110 --- affected

People

(Reporter: bugzilla.mozilla.org, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.

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.

Component: Untriaged → Installer

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.

Blocks: 1647859
Severity: -- → S3
Priority: -- → P3

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.

I will confirm this report and an enhancement based on comment 2.

Status: UNCONFIRMED → NEW
Type: defect → enhancement
Component: Installer → Release Automation: Other
Ever confirmed: true
OS: Unspecified → Windows
Product: Firefox → Release Engineering
QA Contact: gbrown
Hardware: Unspecified → Desktop
Version: Firefox 103 → unspecified
QA Contact: whole.grains
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: