xRobot
xRobot

Reputation: 26565

How to know what version of firefox is installed?

How do I programmatically determine the version of multiple web browsers (Chrome, IE, and Firefox) on the same machine with c++?

Upvotes: 3

Views: 996

Answers (3)

anhldbk
anhldbk

Reputation: 4587

To detect installed browsers, you should read http://rhizohm.net/irhetoric/post/2009/04/03/0a-Finding-All-Installed-Browsers-in-Windows-XP-and-Vista-ndash3b-beware-64bit!0a-.aspx. To get their versions, simply follow the code in How to get Version of the software?. Hope this helps! :)

Upvotes: 0

TMB
TMB

Reputation: 4703

Where those 3 different browsers store their version information may all be different. You would have to track down those locations and read them with you application. Since you are doing this on a windows machine you may be in luck, they may all use the registry.

This might help.

Javascript Browser Detect

Upvotes: 2

LiamB
LiamB

Reputation: 18606

This might help.

How to get Version of the software?

Upvotes: 2

Related Questions