Jump to content

Recommended Posts

Posted (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=7
Const ALL_USERS=True
Strcomputer="."
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 if
loop
set 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 if
loop

the 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 by Knuxr

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...