Jump to content

Ms Antispyware


TheeBeets

Recommended Posts


Easiest way with the betas is to use an AutoIt script.

then run like this:

cmd1[pn]=['%SYSTEMDRIVE%\\Install\\MSAInstallAutoIt.exe']

Could you be more specific as im using Windows Post Installer and when I enter the correct path to the .msi file it doesnt even load it like skips the file and I havent use AutiIt script's a little more info would be gr8, Thx

Link to comment
Share on other sites

MICROSOFTANTISPYWAREINSTALL.EXE -S -V"/QN"
"%PROGRAMFILES%\MICROSOFT ANTISPYWARE\GCASDTSERV.EXE" /REGSERVER
DEL /S "%ALLUSERSPROFILE%\DESKTOP\MICROSOFT ANTISPYWARE.LNK"

That not the WPI script of course, and I'm unfamiliar with it at all but think you've got it that one has to do one more step to make this piece of work up and running. Hope M$ will get the bug fixed in the final version.

Here's more about it

Search button Rules!!! :thumbup

Link to comment
Share on other sites

Thx had a look at the other topic and download the script and well test out in Ms Virt Mach, Cheers

REG ADD %KEY%\085 /VE /D "Microsoft AntiSpyware" /f
REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\MSAS\MSASInstall.exe /S /v/qn" /f
REG ADD %KEY%\085 /V 2 /D "%systemdrive%\Progra~1\Micros~1\gcasDtServ.exe /regserver" /f

Put that in your RunOnceEx.cmd file

Jason

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...

Hi,...

I try to install it, and i can. But when i try to start the aplication i have a 110 error. With no silent switchs, i have no problems :-(

I use ktool. Do you have any comments?

thanks

snow

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...