Inno Setup Preprocessor: GetStringFileInfo

Inno Setup Preprocessor

Inno Setup Preprocessor: GetStringFileInfo

Prototype

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

Description

GetStringFileInfo function 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 shortcut macros are declared in ISPPBuiltins.iss file.

Third optional argument should specify 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.