installation path
-
Well it all depends on the approach a developer takes. Do you want to acquire the installation path of your application itself? If yes, than you should have the source code and you must be writing it somewhere in the registry (ideally) or to some text file during the installation. You can read it from either of the places. If it's the installation path of a third party application, that you need than you need to know before hand where they are writing it.
Some things seem HARD to do, until we know how to do them. ;-)_AnShUmAn_
-
Do you want to get the path of an installed application which is listed in the Add/Remove programs? If yes, then, Windows keep the un-installation information under this registry key -
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
. Under this key for each item there will beDisplayName
subkey, which holds the name of application andInstallLocation
subkey, which holds the path of the installed application. Refer this article[^] about how to iterate through the registry uninstall information and get those values. Regards, Jijo._____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.