It loops several times and every minute it stops the service for the VirusScan. This continues long enough for the installation to take place.on error resume next Set WshShell = CreateObject("WScript.Shell") for i=1 to 20 WshShell.Run "net stop ""Network Associates McShield""",0,True WScript.sleep 60000 next
AutoCAD, AutoCAD Architecture (ACA/ADT), Revit Architecture, Revit MEP, Revit Structure, BIM, CAD, AutoLISP, VBA, VB, VB.NET, C#, databases, Access, SQL Server, FlexNet (FLEXlm), license usage reporting, software design, development, customization, integration...
Friday, August 19, 2005
Installations and Virus Scan Applications
We have McAfee VirusScan Enterprise and there seems to be both taking longer to install applications like AutoCAD and ADT when the On-Access Scan is active and there might even be some problems that are related to having the VirusScan on during the installation.
The problem is that policies are checking of VirusScan is off and puts in on again after a minute or two.
What I did was the following. I have a VBScript that runs the installation including several settings and other customizations. The first thing I do is to run another VBScript using:
WshShell.Run """\\share\StopVirusScan.vbs""",1,False
"False" in the above row is used to allow the main script to continue.
Below is the content of StopVirusScan.vbs:
Subscribe to:
Post Comments (Atom)
Some of the latest blog posts
Contact Us
| About JTB World |
Website General Terms of Use |
Privacy Policy
^ Top of page
© 2004- JTB World. All rights reserved.
Restored comments
ReplyDeleteAnonymous said...
What happens if you install via group policy? Does Mcafee interfeer with group policy installs?
August 19, 2005
JTB World said...
I've never installed using GPO's. Hopefully someone else can answer that question.
August 20, 2005