Re: determine installed firefox versions via vbs?



Normally you could check the file from the
path found in:

HKLM\Software\Windows\CurrentVersion\App Paths\Firefox.exe

but there are two glitches in this case.

1) If I remember correctly, FF2+ is no longer a
registered executable. What might work is to check
the Uninstall key. I've got FF 1.5 installed and it
shows under the subkey "Mozilla Firefox (1.5)".
That key has several values that will allow you to
get the parent folder/file path. From there you can
check the file version of firefox.exe.


2) Not so fast. :) This exposes a second way that the
Mozilla people seem to be unorthodox in the way that
they do things (in addition to not registering the EXE):
In my case, with FF1.5, I see 1.8.x as the file version.
So clearly they're using the gecko version as the FF file
version! I see 1.5 as the Product Version.

You might be able to get product version info.
through WMI. I don't remember offhand. If not, see
here for a small class that can be pasted into a
script. It will return any/all file version information
by parsing the file's PE structure directly and retrieving
the resource table:

www.jsware.net/jsware/scripts.php5#fvinfo


I used to read this registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla
\Mozilla Firefox\CurrentVersion
This worked fine until we gave our users the right to update
firefox without admin-rights.
Now the the actual current version (after an update with user rights)
is written to under HKEY_Current_User.

Of course i could query the whole registry for the highest firefox
version number but i am sure there are easier and smarter
solutions.... any suggestions?

Greetings,
Andreas


.



Relevant Pages

  • >>>> FIREFOX DOWNLOAD <<<<
    ... download firefox, 1.5 download firefox mozilla, 1.5 download ... downloads, atari firefox video download, avg download speed windows ... toolbar download for mozilla firefox, ...
    (misc.health.alternative)
  • Re: debian thunderbird
    ... I'm now woring on a theme for mozilla firefox, ... > managed to test it on debian patched one, it is your problem that it ... The debian installer need a repackaged extension, ...
    (Debian-User)
  • RE: [Full-disclosure] Mozilla Firefox "Host:" Buffer Overflow
    ... you left the details of the bug and the POC out. ... Subject: Mozilla Firefox "Host:" Buffer Overflow ...
    (Full-Disclosure)
  • Re: Support browsers like Firefox & Opera or continue to lose market s
    ... > Security site has a posting recommending users move to Mozilla Firefox or ... you can be attacked using Firefox. ... as more people start using it, major security flaws are ...
    (microsoft.public.office.misc)
  • Re: Setting default Open program fails
    ... http://windowsxp.mvps.org/openwithadd.htm (Try registering Firefox.exe using this program) ... I uninstalled Firefox to check out an issue I was having and reinstalled from scratch. ... If I right click on a .xpi file and select Open With, Choose Program then Browse and select Firefox.exe to use it does not get selected when I return to the main Open With dialog. ... I cannot make Firefox the default App that opens an .XPI file type. ...
    (microsoft.public.windowsxp.general)