Inno Setup Preprocessor: ReadIni

Prototype

str ReadIni(str FileName, str Section, str Key, str? Default)

Description

Reads the value from an INI file. The first parameter is the name of the INI file, the second is the name of a section in the INI file, and the third is the key in the section to read. The last optional parameter can be used to specify the default value that will be returned on failure; if it is omitted, an empty string is returned.