Inno Setup Preprocessor: Functions

There are a number of predefined functions provided by ISPP which you can use to perform compile-time actions and/or change your script. For example the following reads version info from an EXE and uses the return value of the function to change the script:

#define MyAppVer GetFileVersion(AddBackslash(SourcePath) + "MyProg.exe")

[Setup]
AppVerName=MyProg version {#MyAppVer}

Available functions