cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
datamine
Level 6

RegDBGetKeyValueEx - special characters in szName

I am trying to read a value from the registry in InstallScript using RegDBGetKeyValueEx where the name of the value contains curly brackets {}, however no matter how I specify this name no value is returned. I had originally assumed this was being altered in some way at build time, however I am now beginning to suspect that it is happening at runtime as I have tried creating a string table entry and reading it using LoadStringFrom StringTable and passing the result into the function, but this still returns nothing.

Can anyone tell me a syntax I can use to read these values from the registry?

TIA
Labels (1)
0 Kudos
2 Replies
datamine
Level 6

I guess this forum isn't as active as it used to be then.

Just as an FYI, the only way I could find to get around this was to pick the value up via the RegLocator table, and all the jumping through hoops that entails.
0 Kudos
rivin12
Level 3

Hi, I have same issue, if you will get the answer plese share it.
Regards
0 Kudos