Maciep, you are a legend! Thanks for your help, we definitley owe you a beer or two if you decide to visit the isle of man

The resulting code if it is of any interest to anyone is:

Code:
  
break on
dim $file, $standardVer,$curVer

$file = 'c:\program files\citrix\ica client\pn.exe'
$standardVer = '8.100.29670.0'
$curVer = '0.0'

if exist($file)
$curVer = getfileversion($file)
endif

if $curVer < $standardVer
shell 'msiexec /i "\\fileserver\automated\ica32pkg.msi" /q REBOOT="ReallySupress" /lie "c:\citrix.txt"'
endif



We just changed the standard ver, and the /qb! to q to ensure the user could not see and get worried by what was happening.

Thanks again