This should get you rolling....
code:
;Install VirusScan SP-1
:vscansp1
$vscansp1 = "\\Server\McAfee\antivirus\vscan4.5Sp1"
;After Vscan SP-1 is installed, we want to set screen splash to be off
$skipsplash = Readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\Vshield\System Scan\General","bSkipSplash")
;$SkipSplash = Readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\Vshield\System Scan\General","bShowTaskbarIcon")
IF @error = 0
;Value is found - Check for modification
IF $skipsplash <> "1"
$rc = WriteValue("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\Shared Components\On Access Scanner\Vshield\System Scan\General","bSkipSplash", "1", "REG_DWORD")
ENDIF
ENDIF
;Are they running SP-1?
$scanverl = Readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\VirusScan","szVshwin32EXE")
;Get the version of the .EXE File
$scanver = GETFILEVERSION($scanverl,"FILEVERSION")
;4.5.496.0 - Version of Vshield before updating
;4.5.534.0 - Version of Vshield after updating
IF $scanver < "4.5.534.0"
RUN $vscansp1+"\VSC45SP1.exe /silent"
ELSE
;Running the SP or not running
RETURN
ENDIF
HTH,
Kent