Quote:
Nukes,
Cleaned up your code a bit.
This should work. Can't test it cause I don't have the same confuguration as you do.
Code:
;Variables
$claimver=GetFileVersion ("C:\Program Files\iDOiNK Technologies\ClaimFLO\ClaimFLO.exe","FileVersion")
;***************************************
;Determines If the version of ClaimFLO is lower than the current version, will skip install if ok
Select
Case $claimver < "1.3.18.0"
Copy @LSERVER+"\Netlogon\ClaimFLO\ClaimFLO.exe" "C:\Program Files\iDOiNK Technologies\ClaimFLO\"
Copy @LSERVER+"\Netlogon\ClaimFLO\Icons.ibf" "C:\Program Files\iDOiNK Technologies\ClaimFLO\"
Case $claimver = "1.3.18.0"
?"version is ok skipping install"
Case $claimver > "1.3.18.0"
?"version is ok skipping install"
EndSelect
;***************************************
One more thing.....please use the code tags when posting code.
Nice one Mart, all parts are now working. New to Kix and have never used Select statements before, much easier!
Apologies for not using the code tags, this is my first post and will check the rules of the site again.
Cheers guys, enjoy the weekend!
_________________________
Write down the problem
Think real hard
Write down the answer