Link to home
Start Free TrialLog in
Avatar of astankovic
astankovic

asked on

Finding where Internet Explorer is installed

Hi,

Where in the registry can I find the installation directory of Internet Explorer?

On my machine IE is installed in C:\Program Files\Internet Explorer\ but it could be different on other systems.

Thanks,
Alex
ASKER CERTIFIED SOLUTION
Avatar of Debsyl99
Debsyl99

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Two places:  

HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer
Well, let me rephrase that..  this is where you set policy restrictions on IE and control the features...   lol, eh..?
Avatar of Debsyl99
Debsyl99

lol :))
Avatar of astankovic

ASKER

Thanks!

Do you know if HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE will work with other MS operating systems (98, Me, NT4 Workstation, and XP)?

What are you trying to do here..???

FE
SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
FE has an interesting question there....

There are numerous registry keys that reference the location ie installation path of Iexplore.exe - depends what you want to do as to whether it's a good idea to do it that way, if you know what I mean.

Yes it works for XP too - unsure about Win98/NT Workstation as haven't been near them in a while -
:))
BTW, if you are doing that programmatically, just use

char acFullBrowserPath [ MAX_PATH];

FindExecutable ( "dummy.htm", NULL, acFullBrowserPath);
Thanks for your replies everyone...

Here is what I'm trying to do: I need to make sure Adobe Acrobat Reader is completely removed from the system. And it places some files into C:\Program Files\Internet Explorer\Plugins directory that I need to check for and delete if present.
So yes, I will do it programatically, but from InstallShield Professional 6


>> but from InstallShield Professional 6

You can call any Win32 API from IS6, e.g.

prototype shell32.FindExecutable(LPSTR, LPSTR, LPSTR);

see also http://support.installshield.com/kb/view.asp?pcode=CLASS630PEE&articleid=Q102918

jkr,

Do you see any downside of using registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE ?

For FindExecutable I would need to pass path to html file, and I'm wondering if their default browser is something other than IE, it might not give me what I am looking for. MSDN says to use AssocQueryString but its simple to query the registry that to call Win32 function...
No, no downside actually. The default browser problem is something you have to take care of, but won't Adobe actually add plugins to e.g. Mozilla if it was the default browser?
Probably, but I don't have to worry about other browsers.

Thanks for your help