Can i get Source Path of Installed application?

Posted by user123827 on Server Fault See other posts from Server Fault or by user123827
Published on 2012-06-06T22:23:32Z Indexed on 2012/06/06 22:41 UTC
Read the original article Hit count: 257

is there any way to know that form which path an application was installed.

for example I have firefox.exe in

D:\Downloads\App\firefox.exe

and when I install it, it is installed in

C:\Program Files\Firefox

but for some reason I need path from where Firefox was installed. that is "D:\Downloads\App\".

like if this path is stored in some registry value? or in some other system variables? is there any way to get that path? I would like to get that path and then store it in some text file

© Server Fault or respective owner

Related posts about Windows

Related posts about registry