 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jeff Guest
|
Posted: Tue Mar 01, 2005 3:03 pm Post subject: Finding an installed program path |
|
|
Does anyone know how to find the install path for a specific program?
My program requires that another program be installed, then extract files to
its installation folder. Any ideas on how to find it?
Thanks,
Jeff
|
|
| Back to top |
|
 |
Liz Albin Guest
|
Posted: Tue Mar 01, 2005 3:11 pm Post subject: Re: Finding an installed program path |
|
|
On Tue, 1 Mar 2005 08:03:40 -0700, Jeff wrote:
| Quote: | My program requires that another program be installed, then extract files to
its installation folder. Any ideas on how to find it?
|
You could search the whole drive (not recommended) or, check the
registry for whatever entries the program makes
--
Good luck,
liz
|
|
| Back to top |
|
 |
Jeff Guest
|
Posted: Tue Mar 01, 2005 3:17 pm Post subject: Re: Finding an installed program path |
|
|
Searching the drive would take forever, and I didn't write the other program
so I don't know what Registry entries it makes.
I've searched through the Registry and none of the entries with its name
contain the path.
"Liz Albin" <lizalbin (AT) yahooNotThis (DOT) com> wrote
| Quote: | On Tue, 1 Mar 2005 08:03:40 -0700, Jeff wrote:
My program requires that another program be installed, then extract files
to
its installation folder. Any ideas on how to find it?
You could search the whole drive (not recommended) or, check the
registry for whatever entries the program makes
--
Good luck,
liz
|
|
|
| Back to top |
|
 |
Liz Albin Guest
|
Posted: Tue Mar 01, 2005 3:50 pm Post subject: Re: Finding an installed program path |
|
|
On Tue, 1 Mar 2005 08:17:54 -0700, Jeff wrote:
| Quote: | Searching the drive would take forever, and I didn't write the other program
so I don't know what Registry entries it makes.
|
You could also search the startmenu tree... if the exe is in the
program list, then its properties will be there...
--
Good luck,
liz
|
|
| Back to top |
|
 |
Jeff Guest
|
Posted: Tue Mar 01, 2005 4:11 pm Post subject: Re: Finding an installed program path |
|
|
That could work, but the user could delete those items at any time, then my
program wouldn't work anymore.
"Liz Albin" <lizalbin (AT) yahooNotThis (DOT) com> wrote
| Quote: | On Tue, 1 Mar 2005 08:17:54 -0700, Jeff wrote:
Searching the drive would take forever, and I didn't write the other
program
so I don't know what Registry entries it makes.
You could also search the startmenu tree... if the exe is in the
program list, then its properties will be there...
--
Good luck,
liz
|
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Mar 01, 2005 6:55 pm Post subject: Re: Finding an installed program path |
|
|
"Jeff" <Jeff (AT) nospam (DOT) com> wrote
| Quote: | I didn't write the other program so I don't know what
Registry entries it makes.
|
That is a simple matter to figure out. Use a Registry monitoring program,
such as RegMon ([url]http://www.sysinternals.com)[/url], to log all changes to the
Registry when you install and run the program.
Gambit
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Mar 01, 2005 6:55 pm Post subject: Re: Finding an installed program path |
|
|
"Jeff" <Jeff (AT) nospam (DOT) com> wrote
| Quote: | I've searched through the Registry and none of the entries
with its name contain the path.
|
Did you search for just the filename and no names? Did you try searching
for the 8.3 format of the filename rather than the long filename?
Gambit
|
|
| Back to top |
|
 |
Jeff Guest
|
Posted: Tue Mar 01, 2005 7:35 pm Post subject: Re: Finding an installed program path |
|
|
Thank you, I'll try this.
"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> wrote
| Quote: |
"Jeff" <Jeff (AT) nospam (DOT) com> wrote in message
news:4224879f$1 (AT) newsgroups (DOT) borland.com...
I didn't write the other program so I don't know what
Registry entries it makes.
That is a simple matter to figure out. Use a Registry monitoring program,
such as RegMon ([url]http://www.sysinternals.com)[/url], to log all changes to the
Registry when you install and run the program.
Gambit
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|