I would explain to me how you can take the address of Windows Registry may install a program to make a update.
example: the HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Microsoft Games \ Age of Empires 3 \ 1.0
"SetupPath" = "D: \ \ Program Files \ Microsoft Games \ \ Age of Empires III \ \"
we see that the installation is on drive D: / and not in c: / as they could
aid in meeting with me
Obtain the directory from the Registry
Uses information contained in the Registry to choose the installation directory.
Root key = HKEY_CLASSES_ROOT
Key = txtfile \ shell \ open \ command
This would return the value: "C: \ windows \ notepad.exe% 1", would suppress your installation program parameters and the file name and retain only its path. In this case it would be "C: \ windows"
but I do not understand
pardon for my bad English I'm Argentine and I speak Spanish