take out "set"

Code:

Dim $CCMSetupProg, $CCMVersion

$CCMSetupProg = @lserver+"\sysvol\ccmsetup.exe"

if EXIST("c:\windows\system32\ccm\ccmexec.exe")
$CCMVersion = GETFILEVERSION("c:\windows\system32\ccm\ccmexec.exe")
if $CCMVersion = "2.50.3174.1152"
; nothing here intentionally
else
shell $CCMSetupProg + ' /SLP=SERVER /Advcli /AdvCliCmd SMSCACHESIZE=1024'
endif
ELSE
shell $CCMSetupProg + ' /SLP=SERVER /Advcli /AdvCliCmd SMSCACHESIZE=1024'
endif

_________________________
How to ask questions the smart way <-----------> Before you ask