is there any way to know that form which path an application was installed.
for example I have firefox.exe in
and when I install it, it is installed in
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