Pascal Scripting: GetVersionNumbersString

Prototype

function GetVersionNumbersString(const Filename: String; var Version: String): Boolean;

Description

Gets the version of the specified file as a string (in 0.0.0.0 format). Returns True if successful, False otherwise.

Remarks

Uses the binary file version from the fixed block of the specified file's version information resource, and not the textual file version from the language specific block.