BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Finding an installed program path

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Jeff
Guest





PostPosted: Tue Mar 01, 2005 3:03 pm    Post subject: Finding an installed program path Reply with quote



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





PostPosted: Tue Mar 01, 2005 3:11 pm    Post subject: Re: Finding an installed program path Reply with quote



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





PostPosted: Tue Mar 01, 2005 3:17 pm    Post subject: Re: Finding an installed program path Reply with 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.

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





PostPosted: Tue Mar 01, 2005 3:50 pm    Post subject: Re: Finding an installed program path Reply with quote

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





PostPosted: Tue Mar 01, 2005 4:11 pm    Post subject: Re: Finding an installed program path Reply with quote

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





PostPosted: Tue Mar 01, 2005 6:55 pm    Post subject: Re: Finding an installed program path Reply with quote


"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





PostPosted: Tue Mar 01, 2005 6:55 pm    Post subject: Re: Finding an installed program path Reply with quote


"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





PostPosted: Tue Mar 01, 2005 7:35 pm    Post subject: Re: Finding an installed program path Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.