Inno Setup Preprocessor: GetStringFileInfo

Prototype

str GetStringFileInfo(str FileName, str StringName, int? LangCodePage)

Description

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

Second parameter is the name of the version info string-value.

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

The function returns null (void) if it was unable to retrieve the value.

See also

GetFileCompanyString, GetFileDescriptionString, GetFileVersionString, GetFileCopyrightString, GetFileOriginalFilenameString, GetFileProductVersionString