Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you find an installed App

Status
Not open for further replies.

SteveMac32

Programmer
Jan 25, 2002
74
GB
I am writing an application, which will both launch and pass parameters to a second application. I think the best way to launch the second app would be to use the Shell command passing the parameters to the second app. Would you agree…

All well and good, now the user will install this second app to a specified destination but users being users they might not use this specified destination and will make up there own, does anybody have any ideas on how to find the specified app after it has been installed to who knows where…..

Thanks in advance..

Steve
 
I would think looking through the registry for the install location for that program should do what you want. If you want information on looking through the registry for a specific value in code, do a keyword search here and you should get some answers.

Hope that helps!
 
There are two API functions, FindExecutable and AssocQueryString but both need a file extension registered to the target application. See thread222-757314

Paul Bent
Northwind IT Systems
 
If they are that closely related why even have two install processes?
 
Oh wait. Hit that too quick. Ignore last post if the second application is not something you developed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top