PDA

View Full Version : How to read registry keys from external file?


hydefromt70s
22-11-2014, 18:52
Hello friends,

I have another problem. How can I read registry values from external file, e.g. .ini file ? I know how to read / write it directly from INNO script, but need to read it from file.

I would be grateful for any help and examples :)

Razor12911
22-11-2014, 23:03
Show us an example of the ini which you want the info to be read from.

hydefromt70s
23-11-2014, 05:23
Let's just assume that the structure of ini file is:


[Registry]
Root=
Subkey=
ValueName=
ValueData=


Keep in mind that in that subkey may be a few ValueName with several ValueData. This is an example file for reading given a single registry key. And what if a game has a few ValueName and ValeData the specified subkey?