Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

how to find your firefox version

  • 6 réponses
  • 2 ont ce problème
  • 6 vues
  • Dernière réponse par bitlord

more options

Hello, I'm tring to write a script to check the version of Firefox on my computers. I know that if you do this firefox -version you get the Firefox version. The issue is that it doesn't tell me if Firefox is a ESR or not. Is there a command on the command line that will tell me this? Is there a file I could look at?

Hello, I'm tring to write a script to check the version of Firefox on my computers. I know that if you do this firefox -version you get the Firefox version. The issue is that it doesn't tell me if Firefox is a ESR or not. Is there a command on the command line that will tell me this? Is there a file I could look at?

Toutes les réponses (6)

more options

you can see the releases of firefox here: https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/

more options

Thank you for replying. Though the link doen't tell me how to check to see if it is a ESR version. for example this link gives a nice list http://en.wikipedia.org/wiki/Firefox_release_history has a nice list. for example 17.0 and 17.0.1 have both normal and ESR versions.

more options

Firefox 17.0 and 17.0.1 were on the Release channel at time and the ESR channel continued as of 17.0.2 to the current 17.0.4.

The next Major version that will be in ESR support is likely not until Firefox 24.0

more options

This is a Windows-hosted scripting tool, so you can read the registry and open text files?

You can piece together the path to the Firefox program folder using this key:

HKEY_CURRENT_USER\Software\Mozilla\Mozilla Firefox

provides the value CurrentVersion

For example: CurrentVersion=19.0.2 (en-US)

With that information, then, this key

HKEY_CURRENT_USER\Software\Mozilla\Mozilla Firefox\19.0.2 (en-US)\Main

provides the value InstallDirectory

For example: C:\Program Files (x86)\Mozilla Firefox

If you add "\defaults\pref\channel-prefs.js" to that you get a file with a line similar to the following:

pref("app.update.channel", "release");

That second value corresponds to the type of install it is. See: http://kb.mozillazine.org/App.update.channel

If that seems like a huge PITA, you could vote for this bug: Bug 726781 – No way to distinguish between Firefox 10 and Firefox 10 ESR via the registry. Note that you vote in the top section where it says Importance. It's not helpful to add "me too" comments at the bottom.

more options

You can check the application.ini file in the Firefox program folder.

SourceRepository=http://hg.mozilla.org/releases/mozilla-esr17
more options

Thanks everyone for posting. I don't have an answer for my issue but I don't have many servers with Firefox installed so I will just have to manually check.