Compare version strings in Inno Setup
There’s no CompareVersion function in Inno Setup (there is one since 6.1, see below). You need to define your own. Something like: function CompareVersion(V1, V2: string): Integer; var P, N1, N2: Integer; begin Result := 0; while (Result = 0) and ((V1 <> ”) or (V2 <> ”)) do begin P := Pos(‘.’, V1); if … Read more