Inno Setup Reading a Registry Gives Empty String -
I'm new to these setup, so let me tell you that this question is for childish. Shows:
RegQueryStringValue (HKEY_LOCAL_MACHINE, 'Software' Altera Corporation \ Quartus', 'Quartus Version', QR_ver); Results: = True;
QR_ver should have a value inside 'quartus version', but instead it returns an empty string. And of course, I examined 'quartus version', it is not empty. It contains a '14 .0 'value
please
My Crystal Ball Tell me that you are on a 64-bit system and in this way you have verified that value in the 64-bit regattat. If so, use the HKLM64 Root Key instead of HKEY_LOCAL_MACHINE The default regedit on 64-bit systems is 64-bit and shows 64-bit views on the registry (32-bit view shows under WOW6432Node node). Inno Setup Maps (by default) for 32-bit views and thus you could not read it. - (Credit: Tilama)
Comments
Post a Comment