Inno Setup Preprocessor: GetStringFileInfo

Prototype

str GetStringFileInfo(str 1, str 2, int? 3)

Description

Retrieves string from specified file's (first argument) version information resource.

Second argument is the name of the version info string-value. This should be one of the predefined strings. Those strings and shortcuts are declared in ISPPBuiltins.iss.

Third optional argument should specify the language and charset identifier. For example: 0x04BE0409 stands for "English (United States)." If this parameter is omitted, ISPP scans for all available version info blocks to find the value.

The function returns an empty string, if it was unable to retrieve the desired string-value.