Registry key for path to MS Internet Explorer executable

I would like to know the name of the registry key that holds the
full path to the Microsoft Internet Explorer executable in the
Window 9x registry (if IE is installed at all).

I am creating a CD full of HTML documents that must be opened
with MS IE.  I've created a program that will query a registry key
and return the path value, but I need to know which registry key
contains the path information, no matter how the user configured
his particular installation of MS IE.

Comments, please.
tmagaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jhanceCommented:
Rather than do it this way, why not just pass the name of the HTML file to ShellExecuteEx() and let it do the work for you? It will find the registered HTML application (regardless of what it is) and display your page.
0
jedimikeCommented:
more people need to use regedit

goto start----> run and type in regedit
this will bring you to an editor that looks like the explorer.  You can then press ctrl-f and bring up a find window which searches the registry for whatever you put in.
0
tmagaAuthor Commented:
There are two reasons that I can't use the ShellExecuteEx API.

First, I must run Microsoft Internet Explorer to view the HTML documents on the CD.  Just starting the default HTML application will not work.  I assume you meant to say the _default_ HTML application in your above response (as all HTML viewing programs would be registered in the Windows registry).

Second, I am using the program "Multimedia Builder" to create the autorun menu system and that program doesn't support using Windows API functions (it does support searching the registry however).

What I want is to look in one place (key) in any Windows registry to see if (1) Microsoft Internet Explorer is installed, and (2) determine the path to that executable.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

tmagaAuthor Commented:
There are two reasons that I can't use the ShellExecuteEx API.

First, I must run Microsoft Internet Explorer to view the HTML documents on the CD.  Just starting the default HTML application will not work.  I assume you meant to say the _default_ HTML application in your above response (as all HTML viewing programs would be registered in the Windows registry).

Second, I am using the program "Multimedia Builder" to create the autorun menu system and that program doesn't support using Windows API functions (it does support searching the registry however).

What I want is to look in one place (key) in any Windows registry to see if (1) Microsoft Internet Explorer is installed, and (2) determine the path to that executable.
0
tmagaAuthor Commented:
jedimike - that's the first thing I did, and I came away with two possibilities:

HKEY_CLASSES_ROOT\CLSID\{0002DF01-0000-0000-C000-000000000046}\LocalServer32

or

HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\shell\OpenHomePage\Command

Do either of these keys contain the path to "iexplore.exe" in your Windows registry?

On a different note, does anyone know why my comments are always being posted twice (I only click on submit once)?
0
jedimikeCommented:
i have it in programfiles\plus\micros...\iexplore.exe
0
tmagaAuthor Commented:
That's it's location on your hard drive, correct?

If you run 'regedit' and goto the following key, what do you find?

HKEY_LOCAL_MACHINE\Software\CLASSES\CLSID\{0002DF01-0000-0000-C000-000000000046}\LocalServer32'

With any luck, it should be the path to the executable.

Please let me know.  Comments on the data in that key from anyone else would be appreciated as well.
0
sstoukCommented:
The path to the executable is located in

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main

HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\Main

Is this what you were looking for?
0
tmagaAuthor Commented:
Actually, in HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main, the path to the executable is not there (as I would expect it to be).

In, HKEY_CURRENT_USER\Software\Netscape\Netscape Navigator\Main, there is an entry for the "Installation Directory," but not specifically for the path to the executable.

I think I've found the entry I'm looking for, it's:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE

I'll award points to anyone who can verify that this key exists in their Windows registry and contains the actual path to the executable in the (default) name entry (mine is: C:\PROGRA~1\INTERN~1\iexplore.exe).

I would be most interested in knowing if this key exists on computers  without Internet Explorer installed.

Thanks.
0
jedimikeCommented:
that key will be on any windows95 machine...cause ie comes with it.
0
sstoukCommented:
I have one Windows 95 machine with only Netscape Navigator Installed on it.

There's no such a key for

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE

I have:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\Netscape.exe

There.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tmagaAuthor Commented:
Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.