Click here to Skip to main content
15,867,834 members
Please Sign up or sign in to vote.
2.00/5 (3 votes)
See more:
Hi,

I need to find the folder for an Application which was installed on the local machine.

If this "Application" did not register in the registry?

How can I get it?

Best,
Posted
Updated 13-Jun-11 6:34am
v4

If you didn't install it and you need to find the location of it, well, you're going to have to search for it folder by folder. If it installed shortcuts, either on the desktop or the start menu, well you just have to interpret the shortcuts (which have the location of the executable).
 
Share this answer
 
Comments
transoft 13-Jun-11 13:07pm    
Could you give me a sample code for "you just have to interpret the shortcuts (which have the location of the executable)."?

Best,
Albert Holguin 13-Jun-11 13:14pm    
http://www.codeproject.com/KB/shell/create_shortcut.aspx
transoft 13-Jun-11 13:39pm    
If there is a shortcut under "Start" "All Programs", then "lpszShortcutPath " should be?
Albert Holguin 13-Jun-11 15:25pm    
Most likely "C:\Documents and Settings\All Users\Start Menu\Programs\" if its set up for "All Users" (for WinXP)
If the app didn't leave any trail in the registry then the only option is to search the hard drive(s). You could narrow it to the Programs Files folder but the user may have installed it anywhere.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900