Inno Setup Preprocessor: GetVersionNumbersString

Prototype

str GetVersionNumbersString(str Filename)

Description

Returns the version of the specified file as a string (in "0.0.0.0" format) if successful, null (void) otherwise.

Also see GetFileVersionString, which can also be used to retrieve the file version. The difference is that GetVersionNumbersString gets the binary file version from the fixed block of the specified file's version information resource, while GetFileVersionString gets the textual file version from the language specific block.