This is what I have so far, copying the files is fine it just ignores the verify file version part. It copies the file everytime no matter what file version it is.

Many thanks for your help!

;Variables

$claimver=GetFileVersion("C:\Program Files\iDOiNK Technologies\ClaimFLO\ClaimFLO.exe", "1.3.18.0")

;***************************************

;Determines If the version of ClaimFLO is lower than the current version, will skip install if ok

Select
Case $claimver < "1.3.18.0"
"install"
Case $claimver = "1.3.18.0"
"end"
Case $claimver > "1.3.18.0"
"end"
EndSelect

;***************************************

;Installs latest version of ClaimFLO.exe & Icons.ibf

:install
"Checking installed version of ClaimFLO - please wait"
?
?"Installed version - "GetFileVersion ("C:\Program Files\iDOiNK Technologies\ClaimFLO\ClaimFLO.exe","FileVersion")

Copy @LSERVER+"\Netlogon\ClaimFLO\ClaimFLO.exe*.*" "C:\Program Files\iDOiNK Technologies\ClaimFLO\*.*"
Copy @LSERVER+"\Netlogon\ClaimFLO\Icons.ibf*.*" "C:\Program Files\iDOiNK Technologies\ClaimFLO\*.*"

:end


Edited by Nukes (2005-11-11 02:51 PM)
_________________________
Write down the problem Think real hard Write down the answer