Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

installation path of firefox.exe

1,441 views
Skip to first unread message

Michael Rottmeier

unread,
Feb 26, 2006, 11:57:23 AM2/26/06
to
Hi there,

On Windows, I'm trying the get the installation path of the firefox.exe; is
there any reliable way to geht the full path? I think the registry settings
(if there are any) may differ, the same goes for the physical folder
structure.

Thanks in advance,
best wishes,
Michael


Melchert Fruitema

unread,
Feb 26, 2006, 1:30:48 PM2/26/06
to
On 26-02-2006 17:57 CET, Michael Rottmeier composed this enchanting
statement:

> On Windows, I'm trying the get the installation path of the firefox.exe; is
> there any reliable way to geht the full path? I think the registry settings
> (if there are any) may differ, the same goes for the physical folder
> structure.
>

I would suggest to do a search for iton drive C: (or equivalent), or
assigned program partitionน.

1) see your partition management, if applicable

--
Kind regards,

Melchert

MacOS 10.3.9/Firefox 1.5/Thunderbird 1.5

gwtc

unread,
Feb 26, 2006, 2:07:00 PM2/26/06
to
Michael Rottmeier wrote:

If you're using windows, then on the icon that you use to start FF, do
a right click and select Properties

Michael Rottmeier

unread,
Feb 26, 2006, 3:01:30 PM2/26/06
to
Hi again,

Thanks for the answers so far, but I see that my question wasn't precise
enough -- sorry.

I'm writing a Windows program and want to retrieve the installation path of
firefox.exe by my program; I could do this by reading the registry settings
if there are any or I could check for a default folder structure in
C:\program files\Mozilla Firefox\....

But I'm looking for a more appropriate way to get the firefox.exe path
because as far as I see, all the mentioned ways above may be possible but
may also be not possible (when the user has installed firefox to another
directory, or if the registry settings contain the firefox version number
etc.).

So, first is there a registry entry which will be added during installation
of firefox which is independent from the version? A registry entry which I
can rely on? Are any other files -- ini / xml files -- created which I can
used for my purpose?

Best wishes,
Michael


"Michael Rottmeier" <michael-...@t-online.de> schrieb im Newsbeitrag
news:za6dna_RQfd...@mozilla.org...

Kam-Hung Soh

unread,
Feb 27, 2006, 2:17:57 AM2/27/06
to
Many installers set the path of their applications in the following
registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths

That's also the registry key used when starting a program in the
Windows Run dialog (Logo+R key).

--
Kam-Hung Soh
http://kamhungsoh.blogspot.com

0 new messages