How to find out from the Windows registry where IE is installed?
13,171
Solution 1
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE
Solution 2
IE is included in Windows Features. Every windows operating system (XP and later) have IE installed by default. And the installation directory is always:
%PROGRAMFILES%\Internet Explorer
Comments
-
juckele almost 2 years
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
... 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
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?
-
Alex Jasmin over 13 yearsIs there any risk of this path being localized?
-
juckele over 13 yearsSorry, I'm after the installed location, not the version number.
-
juckele over 13 yearsWorks in Win 7 and Win XP and invulnerable to localisation issues.