Knuxr Posted November 27, 2006 Posted November 27, 2006 (edited) Ok I am not so good at programing but I work for a tech bench and they recently gave us a vb script that would install CA Internet Security and SpySweeper but we could really use a script for Norton Antivirus 2007 and SpySweeper unfortunatley I am not so good at programming and we are all stumped and I figured someone here would be able to help, here is the code we have gotten so far:Const Maximize_window=7Const ALL_USERS=TrueStrcomputer="."set objshell = wscript.createobject("wscript.shell")set objexeccobject= objshell.exec("cmd /c Norton 2007 Antivirus\NAVSetup.exe /silent /SUPPRESSMESGBOXES /NORESTART")Do While not objexeccobject.stdout.atendofstream strtext=objexeccobject.stout.readline() If Instr(strtext,"reply")>0 then wscript.echo "Test" exit do end ifloopset objshell = wscript.createobject("wscript.shell")set objexeccobject= objshell.exec("cmd /c spysweeper5\programs\sssetup.exe /silent /SUPPRESSMESGBOXES /NORESTART")Do While not objexeccobject.stdout.atendofstream strtext=objexeccobject.stout.readline() If Instr(strtext,"reply")>0 then wscript.echo "Test" exit do end ifloopthe spysweeper runs fine but we simply cannot get the norton antivirus to install, it will just loop cmd boxes... Any help is greatly appreciated Edited November 27, 2006 by Knuxr
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