Novell Home

Updating McAfee, Part 4

Novell Cool Solutions: Tip
By Tommy Carter

Digg This - Slashdot This

Posted: 20 Oct 1999
 

Tommy Carter has come up with yet another solution for the ever-present McAfee upgrade problem. This is the fourth solution to this problem that we've received so far, and it shows once again that there are many ways to skin this particular cat.

In response to a request from a reader, Tommy has added his wcmdr.ini for use with the wcmdr.exe that comes with McAfee 4. Its commands shutdown both VirusScan 4.x and 3.x. Thanks for the bonus, Tommy! Updated January 12, 2000

So far, what we've published includes:

Here's what works for Tommy...

I have a cool solution for upgrading McAfee VirusScan engine and DAT versions. McAfee versions 3.x and up come with files named WCMDR.EXE and WCMDR.INI in the program file directory. They are used to assist the uninstall process.

  1. You can modify the INI file, removing all sections except for the ones that assist in shutting down any running McAfee applications.
  2. Once you've done that, you run the utility with the following syntax:
    WCMDR.EXE -iC:\TEMP\WCMDR.INI
    It will shut down the scanner, scheduler, screenscan and any other resident McAfee apps.
  3. You can then delete the old program files and use a snAppShot to push down the new ones.
  4. Force a reboot with NAL and you're done.

The DAT files can be pushed down in a similar manner. The WCMDR that comes with VirusScan 4.x works on previous versions as well. You will need to merge the shutdown sections of the previous version with those of the 4.x INI file. Once you do this, the same INI and command line can be used to shutdown both 3.x or 4.x.

If you like, you don't even need to force a reboot after updating the DATs. You can simply re-execute the VirusScan executables (as they appear in the registry) using a post-distribution script in NAL 3.0. Works like a charm.

Here's the wcmdr.ini

*********************** START INI FILE ******************************

;Helper app to shutdown all McAfee 3.x and 4.x apps

[Commands]
NumCommands=1
Command1=Shutdown Command List

[Shutdown Command List]
CmdType=Include
NumCommands=18

;McAfee 3.x Commands

Command1=Shut Down VShield_3x
Command2=Shut Down Scan32_3x
Command3=Shut Down AVConsole_3x
Command4=Shut Down VSchedule_3x
Command5=Shut Down Virus List_3x

;McAfee 4.x Commands

Command6=Shut Down VShield_4x
Command7=Shut Down VShield Properties_4x
Command8=Shut Down Scan32_4x
Command9=Shut Down Scan32 Service_4x
Command10=Shut Down WebScanX_4x
Command11=Shut Down Virus List_4x
Command12=Shut Down VSStat_4x
Command13=Shut Down EDisk_4x
Command14=Shut Down Submit Virus_4x
Command15=Shut Down Update_4x
Command16=Shut Down McUpdate_4x
Command17=Shut Down McUpgrade_4x
Command18=Shut Down Screen Scan Properties_4x

;McAfee 3.x Commands

[Shut Down VShield_3x]
CmdType=SendMessage
ClassName=VshieldWin_Class
WindowName=VshieldWin_Class
Message=2

[Shut Down Scan32_3x]
CmdType=SendMessage
ClassName=VirusScan
WindowName=McAfee VirusScan
Message=2

[Shut Down AVConsole_3x]
CmdType=SendMessage
ClassName=VirusScanConsoleWindowClass
WindowName=McAfee VirusScan Console
Message=2

[Shut Down VSchedule_3x]
CmdType=SendMessage
ClassName=VirusScanBackgroundScheduler
WindowName=VirusScan Console
Message=2

[Shut Down Virus List_3x]
CmdType=SendMessage
ClassName=McAfeeVirList
WindowName=Virus List
Message=2

;McAfee 4.x Commands

[Shut Down VShield_4x]
CmdType=SendMessage
ClassName=VshieldWin_Class
WindowName=VshieldWin_Class
Message=16

[Shut Down VShield Properties_4x]
CmdType=SendMessage
WindowName=System Scan Properties
Message=16

[Shut Down Scan32_4x]
CmdType=SendMessage
ClassName=VirusScan
Message=16

[Shut Down Scan32 Service_4x]
CmdType=SendMessage
ClassName=VScanService
Message=16

[Shut Down WebScanX_4x]
CmdType=SendMessage
ClassName=McAfeeWebScanX
Message=16

[Shut Down Virus List_4x]
CmdType=SendMessage
ClassName=McAfeeVirList
WindowName=Virus List
Message=16

[Shut Down VSStat_4x]
CmdType=SendMessage
ClassName=NAI_VS_STAT
WindowName=NAI_VS_STAT
Message=16

[Shut Down EDisk_4x]
CmdType=SendMessage
WindowName=McAfee Emergency Disk Creation Utility
Message=16

[Shut Down Submit Virus_4x]
CmdType=SendMessage
WindowName=Welcome to McAfee Labs A.V.E.R.T. Response Center
Message=16

[Shut Down Update_4x]
CmdType=SendMessage
WindowName=Welcome to McAfee VirusScan!
Message=16

[Shut Down McUpdate_4x]
CmdType=SendMessage
ClassName=AutoUpdateConfig
Message=16

[Shut Down McUpgrade_4x]
CmdType=SendMessage
ClassName=AutoUpgradeConfig
Message=16

[Shut Down Screen Scan Properties_4x]
CmdType=SendMessage
WindowName=Display Properties
Message=16

*********************** END INI FILE ******************************


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell