How to find out from the Windows registry where IE is installed?

And*_*wan 2 registry internet-explorer

I can find out where Firefox is installed as follows; query this key to get the current version:

HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox
    CurrentVersion
Run Code Online (Sandbox Code Playgroud)

... then query this key to get the installed path (where "nnn" is the version number obtained above):

HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\nnn\Main
    Install Directory
Run Code Online (Sandbox Code Playgroud)

But I can't work out how to find where IE is installed. What key or keys will work on Windows XP, Windows Server 2003, and later?

ste*_*ewe 9

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE
Run Code Online (Sandbox Code Playgroud)

  • 适用于Win 7和Win XP,不受本地化问题的影响. (3认同)