Batch file to silently install, and run Symantec AV, Spybot, Adaware, MSAS

simms

Diamond Member
Sep 21, 2001
8,211
0
0
The whole shebang. I want to make a file "auto.bat" that does the following:

When I run it, it runs

spybotsd13.exe /silent /nocancel
msiexec /i "Symantec Antivirus.msi" /passive
aawsepersonal.exe /silent
msantispy.exe /S /v/qn

Then goes here and runs this
"C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /autoupdate /autoimmunize /autocheck /autofix /autoclose

And updates this...
"C:\Program Files\Microsoft AntiSpyware\GIANTAntiSpywareMain.exe" update

Can someone help me out? Or is there something already made that can do this?
 

simms

Diamond Member
Sep 21, 2001
8,211
0
0
Will that work?

edit: it only does the last two items, how do I make it install? It looks like this now..


/antispyware/spybotsd13.exe /silent /nocancel
/antispyware/aawsepersonal.exe /silent
/antispyware/msantispy.exe /S /v/qn
/SAV9.0/msiexec /i "Symantec Antivirus.msi" /passive


"C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /autoupdate /autoimmunize /autocheck /autofix /autoclose

"C:\Program Files\Microsoft AntiSpyware\GIANTAntiSpywareMain.exe" update
 

KB

Diamond Member
Nov 8, 1999
5,396
383
126
the first four aren't a valid path. The / in the path should be

You might also want to put the whole path in.
 

simms

Diamond Member
Sep 21, 2001
8,211
0
0
I think this is it.

The reason why I can't put the full path in is because it's a USB flash disk and the drive will vary depending on the computer system.
=============


cd antispyware

spybotsd13.exe /silent /nocancel
aawsepersonal.exe /silent
msantispy.exe /S /v/qn

cd ..

cd SAV9.0

msiexec /i "Symantec Antivirus.msi" /passive


"C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /autoupdate /autoimmunize /autocheck /autofix /autoclose

"C:\Program Files\Microsoft AntiSpyware\GIANTAntiSpywareMain.exe" update

pause