Closed Bug 1856763 Opened 3 years ago Closed 3 years ago

In browser Firefox updates do not update version

Categories

(Toolkit :: Application Update, defect)

Firefox 118
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jmwoods301, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0

Steps to reproduce:

When updating Firefox in the browser, the version number never gets updated correctly in the registry.

Also happens in Thunderbird.

Actual results:

Current installed Firefox version 118.0.1 is showing in the registry as 115.0.3

3rd-party update programs think it's out of version, when in fact it is not.

Expected results:

The DisplayVersion registry key should have a value of 118.0.1 instread on 115.0.3.

When I manually change the value to 118.0.1, 3rd-party update programs recogize it as the current version.

Same issue with Thunderbird.

Current installed version is 115.3.1.

DisplayVersion registry key has a value of 115.0

Should be 115.3.1

The Bugbug bot thinks this bug should belong to the 'Toolkit::Application Update' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Application Update
Product: Firefox → Toolkit

Can you provide the full path to the registry key you're referring to?

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox 115.0.3]
"DisplayVersion"="115.0.3"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Thunderbird 115.0 (x64 en-US)]
"DisplayVersion"="115.0"

Quick and east tool to use is Nirsoft's free RegScanner tool.

Firefox (64-bit) 118.0.1 and Thunderbird (64-bit) 115.3.1 version numbers not found in the registry.

They do display correctly in the About windows.

Unfortunately, 3rd-party update tools (PatchMyPC, winget, wingetui, etc.) are looking for the version numbers in the DisplayVersion key.

(In reply to jmwoods301 from comment #5)

Quick and east tool to use is Nirsoft's free RegScanner.

Firefox (64-bit) 118.0.1 and Thunderbird (64-bit) 115.3.1 version numbers not found in the registry.

They do display correctly in the About windows.

Unfortunately, 3rd-party update tools (PatchMyPC, winget, wingetui, etc.) are looking for the version numbers in the DisplayVersion key.

Please delete comment 6, and this one.

Thanks.

My DisplayVersion is getting updated (And I found code to do it in Firefox).

I installed Firefox 113 without the maintenance service, did an update through the help menu and DisplayVersion was updated.

How exactly are you doing the update?

Help > About window

As mentioned, after the update, the version number displayed in the About window is correct.

However, the reg key does not get updated, which is what PatchMyPC, winget, wingetui use.

I checked the DisplayVersion in the registry and it was updated. I'm at a loss as to why you aren't seeing it.

Someone from the install team will have to chime in here because I don't know of any reason this would happen.

My DisplayVersion seems to be getting updated too.

Where is your copy of Firefox installed to?

Flags: needinfo?(jmwoods301)

"C:\Program Files\Mozilla Firefox"

Flags: needinfo?(jmwoods301)

Alright, that location should require elevation to update. You are either using the Maintenance Service or accepting a UAC prompt (I can help you figure this out if you aren't sure) when you update?

You could also try checking the permissions on the registry key to make sure that the Administrators group has Full Control over it.

No Maintenance Service, and no UAC prompt.

Oh. Well I don't know how you are updating that location without either of those. But that's probably why your registry DisplayVersion isn't being updated. You need Administrator privileges to modify that value.

Administrators have full control.

Can you check the permissions on the installation directory for me by opening the command prompt and running and posting the output?

icacls "C:\Program Files\Mozilla Firefox"
Flags: needinfo?(jmwoods301)

icacls "C:\Program Files\Mozilla Firefox"
C:\Program Files\Mozilla Firefox NT SERVICE\TrustedInstaller:(I)(F)
NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
NT AUTHORITY\SYSTEM:(I)(F)
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
BUILTIN\Administrators:(I)(F)
BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
BUILTIN\Users:(I)(RX)
BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
CREATOR OWNER:(I)(OI)(CI)(IO)(F)
APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(RX)
APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE)
APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(I)(RX)
APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE)

Successfully processed 1 files; Failed processing 0 files

Flags: needinfo?(jmwoods301)

The thing I find odd is how the registry entry is named...

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox 115.0.3]

I would expect "Mozilla Firefox" instead of "Mozilla Firefox 115.0.3".

If Firefox couldn't find "Mozilla Firefox", I would expect it to throw an error.

Doesn't happen.

Hmm. Well those permissions don't look unusual. If you open the Windows Settings application, search for "User Account Control", and select the result, what does that show? Mine, for example, says "Notify me only when apps try to make changes to my computer (default)".

Flags: needinfo?(jmwoods301)

Same.

Flags: needinfo?(jmwoods301)

What does your registry entry for Firefox in HKEY_LOCAL_MACHINE look like?

Huh. I'm at a loss as to why you don't need elevation to update. Once Bug 1853733 hits release in version 120, those logs will probably be able to tell us more. But I'm not sure that there is much we can do to track this down further until then.

I would be interested in seeing your Firefox registry entry in HKEY_LOCAL_MACHINE...

Does it have the release version included in its name?

As mentioned, this is what I'm seeing...

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox 115.0.3]

(In reply to jmwoods301 from comment #26)

Does it have the release version included in its name?

It is expected that the key contain the version number, yes.

So I did a few tests...

  1. Did a downgrade to 117.0.1, which showed the correct version number in the registry.

  2. Upgraded that to 118.0.1, which also worked.

  3. Did a refresh of the original 118.0.1 install, which did not work.

Same results for Thunderbird.

Now need to correct it on another system.

Go ahead and close it.

Thanks.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.