home *** CD-ROM | disk | FTP | other *** search
- ' *** ഀ
- ' *** ------------------------------------------------------------------------------ഀ
- ' *** Filename: SCTMcAfee8EntVirusUpdate.vbsഀ
- ' *** ------------------------------------------------------------------------------ഀ
- ' *** Description: McAfee Virus Signature Updateഀ
- ' *** ------------------------------------------------------------------------------ഀ
- ' *** Version: 1.0ഀ
- ' *** Notes: Used by Windows Disk Protectionഀ
- ' *** ------------------------------------------------------------------------------ഀ
- ' *** Copyright (C) Microsoft Corporation 2005, All Rights Reservedഀ
- ' *** ------------------------------------------------------------------------------ഀ
- ' *** ഀ
- ഀ
- ' ~~~ ഀ
- ' ~~~ Force variables to be declared ഀ
- ' ~~~ ഀ
- Option Explicitഀ
- ഀ
- ' ~~~ ഀ
- ' ~~~ Turn on error handlingഀ
- ' ~~~ ഀ
- On Error Resume Nextഀ
- ഀ
- ഀ
- ' ~~~ ഀ
- ' ~~~ Declare global variablesഀ
- ' ~~~ ഀ
- Dim sMcAfeePath, oShellഀ
- ഀ
- ' ~~~ Create objectsഀ
- Set oShell = CreateObject("WScript.Shell")ഀ
- ഀ
- ' ~~~ Set application pathഀ
- sMcAfeePath = oShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Network Associates\TVD\VirusScan Enterprise\CurrentVersion\szUpdateEXE")ഀ
- ഀ
- ' ~~~ Download Virus Signatureഀ
- call oShell.Run("""" & sMcAfeePath & """" & " /Update /Quiet")ഀ
- ഀ
-