MHz Posted March 23, 2005 Posted March 23, 2005 (edited) A friend did up a Gui code for McAfee Commandline scanner. I was asked to make action code for it. Well, I optimized alittle and made some working code. So, for any McAfee lovers, this is for you. Requirements: Download SuperDat file from http://www.mcafeesecurity.com/us/downloads...es/superdat.asp for scanning operation.McAfee_Gui_v1.1.zipEdit: v1.1 - Added Ahmedmb's AutoExtract code.Edit: Updated to follow new line continuation methods. Edited January 6, 2006 by MHz SegioMr 1
Ahmedmb Posted March 24, 2005 Posted March 24, 2005 Edit : Auto Extract Sdat #Region - Startup Checks $search = FileFindFirstFile("sdat*.*") If $search = -1 Then If Not FileExists(@ScriptDir & '\Files') Then MsgBox(0, "Error", "Download SuperDat file from " @CRLF "http://www.mcafeesecurity.com/us/downloads/updates/superdat.asp " @CRLF " in folder: " & @ScriptDir) Exit EndIf Else $file = FileFindNextFile($search) If Not FileExists(@ScriptDir & '\Files') Then DirCreate(@ScriptDir & '\Files') FileCopy($file,@ScriptDir & '\Files') RunWait(@ScriptDir & '\Files\' & $file & ' /e') FileDelete(@ScriptDir & '\Files\' & $file) EndIf If Not FileExists(@ScriptDir & '\Files\Scan.exe') Then MsgBox(262160, 'McAfee Command Line Scanner', 'Scan.exe not found in Files folder') Exit EndIf #EndRegion
MHz Posted March 24, 2005 Author Posted March 24, 2005 Nice idea Ahmedmb. Thanks. AutoExtract code, has been added to v1.1.
MHz Posted March 25, 2005 Author Posted March 25, 2005 Haha is this free McAfee?<{POST_SNAPBACK}>Yes, it is free.
Alterego Posted March 25, 2005 Posted March 25, 2005 AutoIt ErrorLine 482 (File "F:...location of \McAfee_Gui\McAfee Gui.au3"):ProgressOff^ERRORError: Error parsing function call. This dynamic web page is powered by AutoIt 3.
Ahmedmb Posted March 26, 2005 Posted March 26, 2005 !!! thete error not ocare with me i test it in 2 PC ??!!
Ahmedmb Posted March 26, 2005 Posted March 26, 2005 Bug Fixed Add update date to title McAfee_Gui.zip
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now