Mike,

Yeah , thats true ! KiX only supports (still) integer math between -2,147,483,648 and 2,147,483,647 ...

But in your case you can compare the fileversions as string !

Try :

code:

$Comp1 = '5.66'
$Comp2 = GetFileVersion("C:\Program Files\Some Application\App.EXE","FileVersion)

if $Comp1 > $Comp2
;upgrade !
endif


Jochen


A good sample to proof that it will work is
SortArray()

[ 22 October 2001: Message edited by: jpols ]

_________________________