The registry key is not returned. I know the key has a value, because I can see it in regedit. Using HM NIS Edite 2.0.3, the code compiles but generates an execution error,# name testinstaller
outFile "testinstaller.exe"
!Define PerTempKey "Software\Microsoft\Office\14.0\Word\Security\Trusted Locations\Location0"
Var PerTempFolder
# default section start
section
readRegStr $PerTempFolder HKCU PerTempKey "Path"
messagebox MB_OK $PerTempFolder
sectionEnd
WIN32 Code 740. Requires elevation. I'm not sure what this means. I tried adding the command RequestExecutionLevel admin, but this did not resolve my problem.
Any help would be appreciated.
Gail