Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

Enumeration of Installed Browsers (and versions)

In a Delphi app I would like to know, on  any given machine, which browsers (IE, Opera, Firefox, Mozilla, Netscape) are installed (preferably also which versions), to display that info to the user, and then to display a page in the selected browser.

For IE this is reasonably well trodden ground.

check for IE and version
http://www.swissdelphicenter.ch/torry/showcode.php?id=413
http://www.swissdelphicenter.ch/torry/showcode.php?id=1252

obtaining the path to the default webbrowser
http://www.swissdelphicenter.ch/torry/showcode.php?id=120
looks at
HKEY_CLASSES_ROOT\htmlfile\shell\open\command

but that tells me nothing about the other installed browsers.

Any good ideas ??  Maybe someone has a listing somewhere of where the browsers are typically installed ? But that is not bulletproof, there could be custom installations. Search the hard disk for opera.exe, firefox.exe etc? .. apart from being kludgy and time-consuming that approach is not bulletproof either, simply finding an exe is not proof that it has been or is currently installed.

thanks

0
Mutley2003
Asked:
Mutley2003
1 Solution
 
pcsentinelCommented:
Not great I know but if you have a list of the browser names why not scan the registry key

HKEY_CLASSES_ROOT\Applications

This will at least let you know if they have been installed or not

regards
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now