Inno Setup Preprocessor: FileSize

Inno Setup Preprocessor

Inno Setup Preprocessor: FileSize

Prototype

int FileSize(str)

Description

Returns size, in bytes, of the specified file. If the file does not exist, the result is -1. Beware of ISPP supporting only signed 32 bit integers: for files larger than 2 GB (and smaller than 4 GB) the result is negative.