RunWait(@ScriptDir & '\' & "MicrosoftAntiSpywareInstall.exe" & ' /s /v"/qn"')
Opt("TrayIconDebug", 1)
#include <process.au3>
FileChangeDir(@ProgramFilesDir & "\Microsoft AntiSpyware")
If ProcessExists("gcasServ.exe") Then
ProcessClose("gcasServ.exe")
EndIf
Run("gcasDTserv.exe -Embedding")
Run("gcasServ.exe")
FileDelete(@DesktopDir & "\Microsoft AntiSpyware.*")
FileDelete(@DesktopCommonDir & "\Microsoft AntiSpyware.*")
SplashOff()
If @IPAddress1 <> "0.0.0.0" Then
run(@Programfilesdir & "\Microsoft AntiSpyware\GIANTAntiSpywareMain.exe update")
WinWaitActive("Microsoft AntiSpyware AutoUpdater", "")
Sleep(2000)
$close = ControlCommand("Microsoft AntiSpyware AutoUpdater", "", "ThunderRT6UserControlDC4", "IsEnabled", "")
Do
Call("waitaround")
Sleep(100)
Until $close = 1
WinClose("Microsoft AntiSpyware AutoUpdater", "")
EndIf
Exit
Func waitaround()
$close = ControlCommand("Microsoft AntiSpyware AutoUpdater", "", "ThunderRT6UserControlDC4", "IsEnabled", "")
EndFunc
There's my autoit script that'll do it all.
That will install ms antispyware & get rid of your 110 error. If you have an IP
Address, it will update to the newest defs.



Help

Back to top









