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
Best Answer
Some installs will create a registry key 'InstallSource' with the uninstall information here:
For example: