I am creating a WPF utility that needs to access the registry of the local computer to find out the installation path of the program.
I went to the key through Regedit and it gives the name, type and data, within the data that it shows the installation path, I would like to extract the installation path.
I know that I need to go to this registry key:
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Application Paths \
then I need to access the folder inside this key with information about the installation path.
-
source
share