MSFN Forum: AD-Aware 6 PRO - 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
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

AD-Aware 6 PRO .VBS script ;) Rate Topic: -----

#1 User is offline   bombtrack 

  • boooom
  • PipPip
  • Group: Members
  • Posts: 161
  • Joined: 02-January 04

Posted 29 January 2004 - 06:38 PM

for anybody who needs it :)

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Popup "DONT PRESS ANY KEY OR MOVE THE MOUSE!!!",5," - Warning - ",48
WshShell.Run ("SETUP.EXE /S")
WScript.Sleep 5000
WshShell.SendKeys "X"
WScript.Sleep 1000
WshShell.SendKeys "X"
WScript.Sleep 1000
WshShell.SendKeys "X"
WScript.Sleep 1000
WshShell.SendKeys "X"
WScript.Sleep 1000
WshShell.SendKeys "X"
WScript.Sleep 1000
WshShell.SendKeys "X"
WScript.Sleep 1000
WshShell.SendKeys "X"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Quit


replace the X's with your serial number and setup.exe to your ad-aware instalation filename


#2 User is offline   DarkBringer 

  • Member
  • PipPip
  • Group: Members
  • Posts: 216
  • Joined: 06-August 03

Posted 29 January 2004 - 10:32 PM

Nice, but have you seen this?

http://www.MSFN.org/...showtopic=11776

#3 User is offline   bombtrack 

  • boooom
  • PipPip
  • Group: Members
  • Posts: 161
  • Joined: 02-January 04

Posted 29 January 2004 - 11:30 PM

DarkBringer, on Jan 29 2004, 10:32 PM, said:

Nice, but have you seen this?

http://www.MSFN.org/...showtopic=11776

nope didnt find, used the forum search to, guess i didnt search good enough, oh well :)

#4 User is offline   DarkBringer 

  • Member
  • PipPip
  • Group: Members
  • Posts: 216
  • Joined: 06-August 03

Posted 29 January 2004 - 11:45 PM

Hey, no problem. How do they compare?

#5 User is offline   bombtrack 

  • boooom
  • PipPip
  • Group: Members
  • Posts: 161
  • Joined: 02-January 04

Posted 30 January 2004 - 12:08 AM

other vbs that i couldnt has the differences:
time to wait until serial is entered: WScript.Sleep 8000
he sends all keys for the serial at once WshShell.SendKeys "xxxxxxx"
time to wait until pressing enter after serial is written: WScript.Sleep 2000

thats the only real difference. i didnt know that all keys can be written at once for the serial.

changed my vbs, guess this is the fastest way for it to work

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Popup "DONT PRESS ANY KEY OR MOVE THE MOUSE!!!",5," - Warning - ",48
WshShell.Run ("SETUP.EXE /S")
WScript.Sleep 5000
WshShell.SendKeys "YOUR_SERIAL_HERE"
WScript.Sleep 1000
WshShell.SendKeys "{ENTER}"
WScript.Quit


found this here on MSFN with the difference that it copys the reflist.ref to the ad aware dir

Set WshShell = WScript.CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
On Error Resume Next
WshShell.Popup "Do NOT MOVE the mouse an do NOT PRESS any button!",5," - Warning - ",48
...
...
...
'Copy the newest reflist.ref to the ad-aware folder overwrite the old one
'you have to check the path !
Set refl = fso.GetFile("%systemdrive%\Apps\reflist.ref")
refl.Copy ("%programfiles%\Lavasoft\Ad-aware 6\reflist.ref")
Wscript.Quit


but the it didnt copy the file when i tried it, anybody have an idea ?

#6 User is offline   DarkBringer 

  • Member
  • PipPip
  • Group: Members
  • Posts: 216
  • Joined: 06-August 03

Posted 30 January 2004 - 12:36 AM

Yeah, that doesn't work for me too so I do it from a batch file with the syntax.....

echo  Copying Adaware 6 Reference List
copy /Y "%systemdrive%\Install\Apps\Adaware\reflist.ref" "%programfiles%\Lavasoft\Ad-aware 6\"


#7 User is offline   bombtrack 

  • boooom
  • PipPip
  • Group: Members
  • Posts: 161
  • Joined: 02-January 04

Posted 30 January 2004 - 01:41 AM

DarkBringer, on Jan 30 2004, 12:36 AM, said:

Yeah, that doesn't work for me too so I do it from a batch file with the syntax.....

echo  Copying Adaware 6 Reference List
copy /Y "%systemdrive%\Install\Apps\Adaware\reflist.ref" "%programfiles%\Lavasoft\Ad-aware 6\"

the way i was doing it now :)

#8 User is offline   brent24 

  • Script kiddie
  • Pip
  • Group: Members
  • Posts: 97
  • Joined: 14-December 03

Posted 30 January 2004 - 06:28 AM

The most effective way to install adaware with a script is below. You can move your mouse, hit any key you want, take the focus off the window. No matter what this script won't break. The other scripts rely on perfect timing to send the password to the window and hit enter. Then if that doesn't work for some weird unknown reason (i've seen it happen), your screwed.

function getWin(win, inc)
	{
	var cntr = 0;
	while (!WshShell.AppActivate(win))
  {
  if (cntr==12) return true;
  cntr++;
  WScript.Sleep(inc);
  }
	return true;
	}
var WshShell = new ActiveXObject("WScript.Shell");
var oExec = WshShell.Exec("aaw6181.exe /s");
while (oExec.Status == 0)
	{
	getWin("Password", 5000);
	WshShell.SendKeys ("1111111~");
	WScript.Sleep(500);
	}
WScript.quit();


Just replace the 1's and the setup filename with your password and filename.

[EDIT] One more note. It's a jscript so DONT name it .vbs use .js

#9 User is offline   bombtrack 

  • boooom
  • PipPip
  • Group: Members
  • Posts: 161
  • Joined: 02-January 04

Posted 30 January 2004 - 08:28 AM

brent24, on Jan 30 2004, 06:28 AM, said:

The most effective way to install adaware with a script is below.  You can move your mouse, hit any key you want, take the focus off the window.  No matter what this script won't break.  The other scripts rely on perfect timing to send the password to the window and hit enter.  Then if that doesn't work for some weird unknown reason (i've seen it happen), your screwed.

function getWin(win, inc)
	{
	var cntr = 0;
	while (!WshShell.AppActivate(win))
  {
  if (cntr==12) return true;
  cntr++;
  WScript.Sleep(inc);
  }
	return true;
	}
var WshShell = new ActiveXObject("WScript.Shell");
var oExec = WshShell.Exec("aaw6181.exe /s");
while (oExec.Status == 0)
	{
	getWin("Password", 5000);
	WshShell.SendKeys ("1111111~");
	WScript.Sleep(500);
	}
WScript.quit();


Just replace the 1's and the setup filename with your password and filename.

[EDIT] One more note.  It's a jscript so DONT name it .vbs  use .js

neeeeeato ! thx

#10 User is offline   siski 

  • Group: Members
  • Posts: 4
  • Joined: 14-January 04

Posted 30 January 2004 - 10:41 AM

Working for me, tested today !!

#11 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 05 March 2004 - 12:58 PM

brent24

Watch your idea working here

http://www.msfn.org/...showtopic=16094

Share this topic:


Page 1 of 1
  • 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