home *** CD-ROM | disk | FTP | other *** search
- ' *** ഀ
- ' *** ------------------------------------------------------------------------------ഀ
- ' *** Filename: SCTeTrust7VirusUpdate.vbsഀ
- ' *** ------------------------------------------------------------------------------ഀ
- ' *** Description: eTrust 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 variables and constantsഀ
- ' ~~~ഀ
- Dim seTrustPath, oShellഀ
- ഀ
- ' ~~~ Create objectsഀ
- Set oShell = CreateObject("WScript.Shell")ഀ
- ഀ
- ' ~~~ Set application pathഀ
- seTrustPath = oShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\ScanEngine\Path\Engine")ഀ
- ഀ
- ' ~~~ Download Virus Signatureഀ
- call oShell.Run("""" & seTrustPath & "\InoDist.exe""" & " /cfg " & seTrustPath & "\inodist.ini", 0, True)ഀ
-