MSFN Forum: Ms Antispyware - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage ˇ MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Ms Antispyware Why wont this install? Rate Topic: -----

#11 User is offline   redfive19 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 17-August 04

Posted 13 July 2005 - 09:26 PM

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.


#12 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,756
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 July 2005 - 09:37 PM

Nice script thank you for sharing.

#13 User is offline   edusnow 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 22-June 05

Posted 14 July 2005 - 07:18 AM

Thanks,...
I will try.

snow

#14 User is offline   cardinal808 

  • Group: Members
  • Posts: 1
  • Joined: 06-July 05

Posted 15 July 2005 - 06:02 AM

If some one is interested, this is the working script

msiexec.exe /qb /i MicrosoftAntiSpyware.msi

#15 User is offline   edusnow 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 22-June 05

Posted 21 July 2005 - 12:09 PM

""msiexec.exe /qb /i MicrosoftAntiSpyware.msi""

i´ll steal have the same 101 error :wacko:

thanks
snow

#16 User is offline   redfive19 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 17-August 04

Posted 21 July 2005 - 02:39 PM

My autoit script installs silently and fixes the 101 error, but to each his own. Good luck with the MSI because as edusnow said, it will give the 101 error unless you're install it OVER a previous installation. big difference.

#17 User is offline   redfive19 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 17-August 04

Posted 21 July 2005 - 02:40 PM

My autoit script installs silently and fixes the 101 error, but to each his own. Good luck with the MSI because as edusnow said, it will give the 101 error unless you're install it OVER a previous installation. big difference.

#18 User is offline   edusnow 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 22-June 05

Posted 21 July 2005 - 05:02 PM

Hi,... redfive 19
You have right. In the second try the 101 error desapears. Can you explain more how autoit works. I dónt know :no: nothing about it,... to i try. :P

thanks
snow

#19 User is offline   fanatf1 

  • Junior
  • Pip
  • Group: Members
  • Posts: 89
  • Joined: 22-April 05

Posted 22 July 2005 - 01:12 AM

You say put reg file in $OEM$/$$ and run it from cmdlines as
REGEDIT /s MenuOrder.reg


But i heard that we must put this files in $OEM$ folde near the cmdlines!!

I have a lot regs in $OEM$ folder (which need to execute AFTER first logon)
like this
[COMMANDS]
"RunOnceEx.cmd"
"useraccounts.cmd"
"REGEDIT /S regtweaks.reg"
"REGEDIT /S ACDsee.reg"
"REGEDIT /s menuorder.reg"


Here the question: Can i make some folder in $OEM$ (like REGS) and put all regs (include menuorder.reg) in it. My cmdlines STILL work after that and apply regs from folder REGS? And how to write a command in cmdlines to REGS folder?

Help please !

EDIT: Or maybe you have better way to apply REGs (with keys, settings) which need to by applyed AFTER first logon?

It would be GREAT!

This post has been edited by fanatf1: 22 July 2005 - 01:15 AM


#20 User is offline   edusnow 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 22-June 05

Posted 22 July 2005 - 09:02 AM

Redfive19,... you are my men! :thumbup
I use your script,... and off course,... it works. Erros 101 ?- What is that? :whistle:

thanks
snow

next: ssh and wsftp_le :unsure:

#21 User is offline   JasonGW 

  • Member
  • PipPip
  • Group: Members
  • Posts: 216
  • Joined: 05-August 04

Posted 26 July 2005 - 10:23 AM

JasonGW, on May 2 2005, 11:15 AM, said:

TheeBeets, on May 2 2005, 02:38 AM, said:

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


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
<{POST_SNAPBACK}>


I don't tend to quote myself, but this, my friend, works perfectly for me *every* time. I have the absolute newest, truest, bluest version of MSAS and the same setup that worked 6 months ago works fine today.

Jason

#22 User is offline   tbma 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 04-June 05

Posted 26 July 2005 - 10:48 AM

JasonGW, on Jul 26 2005, 08:23 AM, said:

I don't tend to quote myself, but this, my friend, works perfectly for me *every* time. I have the absolute newest, truest, bluest version of MSAS and the same setup that worked 6 months ago works fine today.

Jason
<{POST_SNAPBACK}>


This will work, unless somebody have folders named "Microsoft blah-blah etc." in "Program Files" already (i.e some other Microsoft products installed).
In that case "Progra~1\Micros~1" will point to some other place, and this installation will fail... with error 101.

/offtopic on
Is anybody experimented with MsAS command line switches?
I have found -LaunchMode N (where N is a number), as well as known switches -scan -withui -withreultui,
but but I haven't figured out -schedule yet.
/offtopic off

This post has been edited by tbma: 26 July 2005 - 10:50 AM


#23 User is offline   JasonGW 

  • Member
  • PipPip
  • Group: Members
  • Posts: 216
  • Joined: 05-August 04

Posted 26 July 2005 - 04:23 PM

tbma, on Jul 26 2005, 10:48 AM, said:

JasonGW, on Jul 26 2005, 08:23 AM, said:

I don't tend to quote myself, but this, my friend, works perfectly for me *every* time. I have the absolute newest, truest, bluest version of MSAS and the same setup that worked 6 months ago works fine today.

Jason
<{POST_SNAPBACK}>


This will work, unless somebody have folders named "Microsoft blah-blah etc." in "Program Files" already (i.e some other Microsoft products installed).
In that case "Progra~1\Micros~1" will point to some other place, and this installation will fail... with error 101.

/offtopic on
Is anybody experimented with MsAS command line switches?
I have found -LaunchMode N (where N is a number), as well as known switches -scan -withui -withreultui,
but but I haven't figured out -schedule yet.
/offtopic off
<{POST_SNAPBACK}>


If they have other stuff with the name Microsoft, they will have 8.3 names sequentially in alphabetical order. Even with Microsoft Office, Microsoft Project, Microsoft Visio, Microsoft Publisher and Microsoft Antispyware installed, antispyware will *still* be micros~1, unless Microsoft Activesync is installed first.

In any case, resolution is simple: Install MS Antispyware BEFORE you install those other apps. Setting the install to kick off earlier in the RunOnceEx.cmd is a 30 second job.

Jason

#24 User is offline   tbma 

  • Newbie
  • Group: Members
  • Posts: 18
  • Joined: 04-June 05

Posted 26 July 2005 - 05:34 PM

JasonGW, on Jul 26 2005, 02:23 PM, said:

In any case, resolution is simple: Install MS Antispyware BEFORE you install those other apps. Setting the install to kick off earlier in the RunOnceEx.cmd is a 30 second job.

Jason
<{POST_SNAPBACK}>

It creates short name every time it creates a file, not dynamically. So they will be named in order of creation.

On my machine for example:

Quote

MICROS~3    Microsoft ActiveSync
MICROS~4    Microsoft AntiSpyware
MICROS~1    microsoft frontpage
MICROS~2    Microsoft Office


How about even simplier resolution? Just use long names? DOS is officially dead at least 5 years now ;)

#25 User is offline   blinkdt 

  • Somewhat Knowledgeable
  • PipPipPipPip
  • Group: Members
  • Posts: 582
  • Joined: 30-September 03
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 31 July 2005 - 02:20 AM

@redfive19: nice work on the autoupdate feature, I'll definitely be putting that into all of my installs, worked like a charm.

#26 User is offline   redfive19 

  • Junior
  • Pip
  • Group: Members
  • Posts: 96
  • Joined: 17-August 04

Posted 23 August 2005 - 12:25 PM

well I am getting to the back to this topic a little late but I am glad it worked for you! you can find out more about autoit by downloading it here:

www.autoitscript.com

All I did was read the help file. Did the tutorials in it and it kind of took off from there. I've been using it since March......

good luck

#27 User is offline   InTheWayBoy 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 709
  • Joined: 16-August 04

Posted 23 August 2005 - 04:53 PM

RunWait ( "msiexec /qn /i setup.msi" )

Sleep ( 5000 )

Run ( @ProgramFilesDir & "\Microsoft AntiSpyware\gcasDtServ.exe /regserver" )

FileDelete ( @DesktopCommonDir & "\Microsoft AntiSpyware.lnk" )


That's an AuotIT script that does it all for you...just like it was previously mentioned. You have to have the .msi already extracted. What this does is install the program, wait five seconds, runs the necessary command to fix the stupid error with a silent install, and then deletes the icon on the desktop. After I reboot it autoruns and works fine.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy