We help IT Professionals succeed at work.

Get install path of application on machine

kayhustle asked
Medium Priority
Last Modified: 2013-11-07
How do I get the install path of a particular application that has been previously installed on a machine?
Watch Question

Top Expert 2007

What operating system is this?


Windows XP or Windows Server 2003
Top Expert 2007
GetModuleFileNameEx is probably the key API you need.  It requires a handle to a process, which means you need to have the application running.

This link should help.

The link contains a link to an example program for enumerating running processes.

Let me know if this helps.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2007

kayhustle, have you been able to solve this problem?  Do you need further assistence?
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.