Help - Search - Members - Calendar
Full Version: Ad-Aware Pro v6 Build 181 silent
MSFN Forums > Unattended Windows Discussion & Support > Application Installs
Pages: 1, 2

   
Google Internet Forums Unattended CD/DVD Guide
mazin
First of all, I should thank guys whose contributions were very useful. Though helpful, each method of theirs had its own pitfall. This is why I compiled this method which I hope it's a smooth trouble-free one.

You may have a look at their contributions here:
http://unattended.msfn.org/xp/applications/adaware6.htm
http://www.msfn.org/board/index.php?showtopic=14851
http://www.msfn.org/board/index.php?showtopic=14323

These are the steps:

1. Download the file "sleep.zip" from the link below.

http://unattended.msfn.org/files/sleep.zip

2. Create a folder inside your "Install" folder, and name it AAwP6181

3. Inside the folder "AAwP6181", put these files:

AdAware.exe --> the installation program renamed for simplicity
adaware.js --> a modified JavaScript file written originally by brent24
prefs.ini --> it's yours at C:\Program Files\Lavasoft\Ad-aware 6\
reflist.ref --> updated file downloadable from here.
sleep.exe --> extracted from step 1

This is what's written in adaware.js (replace the ####### with your password):
QUOTE
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("AdAware.exe /s");
while (oExec.Status == 0)
{
WScript.Sleep(500);
getWin("Password", 3000);
WshShell.SendKeys ("#######");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
}
WScript.quit();

This is your batch file:
QUOTE
cls
@echo off
ECHO.
ECHO Installing Ad-Aware Pro v6 Build 181
ECHO Please wait...
Copy %systemdrive%\Install\AAwP6181\sleep.exe %systemroot%\
Copy %systemdrive%\Install\AAwP6181\AdAware.exe %systemdrive%\
Copy %systemdrive%\Install\AAwP6181\adaware.js %systemdrive%\
sleep 1
CD %systemdrive%\
Start %systemdrive%\adaware.js
sleep 9
Copy /y "%systemdrive%\Install\AAwP6181\reflist.ref" "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\"
Copy "%systemdrive%\Install\AAwP6181\prefs.ini" "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\"
Del %systemdrive%\adaware.js
Del %systemdrive%\AdAware.exe
ECHO.
ECHO Shell Integration and Shortcut Deletion
REG ADD "HKCR\Drive\shell\Scan with Ad-aware...\Command" /ve /t REG_SZ /d "\"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Ad-aware.exe\" \"%%1\" \"+SD\"" /f
REG ADD "HKCR\Directory\shell\Scan with Ad-aware...\Command" /ve /t REG_SZ /d "\"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Ad-aware.exe\" \"%%1\" \"+SD\"" /f
del "%USERSPROFILE%\Desktop\Ad-aware 6.0.lnk"
del "%USERSPROFILE%\Desktop\Ad-watch 3.0.lnk"
exit

Note:

Ad-Aware uses internal calculator to check the password you type to install it. It never keeps that password in any place on your computer.
So, don't waste time searching for a registry value or a file hidden here or there. No way!

The file "prefs.ini" is automatically created by Ad-Aware on the first use. It will be automatically modified every time you change the program's settings or do a new scan.
Therefore, do a complete configuration for the program before you copy that file into your unattended CD.

For more information about Plugins:
http://www.msfn.org/board/index.php?showto...ndpost&p=129555
For more information about Languages:
http://www.msfn.org/board/index.php?showto...ndpost&p=129612
For more information about setting the default language:
http://www.msfn.org/board/index.php?showto...ndpost&p=149608
For more information about shell integration:
http://www.msfn.org/board/index.php?showto...ndpost&p=149437

My "prefs.ini" is uploaded for you, if you happen to need one.
Shark007
a simple method ...

copy over a current installed working version including the latest ref file
execute the exe.

done.


Shark007
WwTIPPYwW
sweet - that works great!

NOTE - I dropped the sleep time to 200 and it still worked - box pops up - password entered - and then disappears.


Wonder if installer can be configured to downloaded the newest reflist.ref file automatically? Anyone know how to do that?
WwTIPPYwW
also - if SLEEP is put into \$OEM$\$$\System32 folder on the cd, then it
isn't needed in this package and can be used without fully qualifying it.

FYI - WwTIPPYwW
mazin
For putting sleep into the $OEM$, it's right and tested.
About the sleep time, it depends. I just make precautions for any slowness probability.
I hope to have other thoughts like yours, so we can make improvements.
Thanks.
Aaron
If you're familiar with win32 wget, you may be able to use that to download reflist.zip via a batch file (wget http://url/to/reflist.zip) if wget is copied to the system32 directory. Although you'll need to find a way to auto-extract the zip itself.
bombtrack
QUOTE (mazin @ Mar 5 2004, 07:46 PM)
First of all, I should thank guys whose contributions were very useful.

i cant believe it biggrin.gif the first time i thread of mine got quoted biggrin.gif

and thanks for making this much better method out of my and other threads
bombtrack
QUOTE (AaronXP @ Mar 8 2004, 12:06 AM)
If you're familiar with win32 wget, you may be able to use that to download reflist.zip via a batch file (wget http://url/to/reflist.zip) if wget is copied to the system32 directory. Although you'll need to find a way to auto-extract the zip itself.

OH MY GOD wget is awesome!!!!!

ok guys download wget: WGET

Extract its contents to C:\XPCD\$OEM$\$$\system32\
(so that wget is in c:\xpcd\$oem$\$$\system32\wget.exe)

Google for pkunzip and extract it to C:\XPCD\$OEM$\$$\system32\
(so that pkunzip is in c:\xpcd\$oem$\$$\system32\pkunzip.exe)

Download "ssleay32.dll" and "libeay32.dll" HERE and extract them to
C:\XPCD\$OEM$\$$\system32\
(these 2 files are also often in your flashfxp folder, you can use them, just copy them to the C:\XPCD\$OEM$\$$\system32\ directory)

Follow mazins guide as written in his post above (first post...) and create your .JS file, but remove anything that has to to with the ref file, since we now have wget that downlaods an up to date version of reflist.ref upon every installation of windows.

add this to your batch files that executes the .JS file (the batch file need to run the .js file first though). so it would look something like this
CODE
%systemdrive%\path\aaw.js
wget http://www.lavasoft.de/update/refs/reflist.zip
pkunzip -o -e reflist.zip
del /F reflist.zip
copy /Y reflist.ref "%programfiles%\Lavasoft\Ad-aware 6\reflist.ref"
del /F reflist.ref

but im not sure about that .JS line, since i never use .JS files

NOTE:

im not sure if this works, but it might, follows aarons guide on using RunOnceEX from CD then the .JS file might be able to work with the %CDROM% environtment variable
--
this is the best adaware thread that there ever was on msfn biggrin.gif lol
urie
Hi there,
could someone please tell me where i put the batch file for adaware to run the silent install is it in the start.cmd or RunOnceEx.cmd and also is it saved as a .bat or .cmd

any help would be greatly appreciated this is my first attemp at installing programs, i am reading the unattended cd guide but the way adaware is installed in the guide is not the same.
bombtrack
in the guide is the "free" version of adaware, we are talking about the payware version, just keep reading the unattended guide, i dont kow anybody who does not understand where to put their batch files, or how they are executed.

checkk this page it "should" help you

http://unattended.msfn.org/xp/batch_commands.htm
WwTIPPYwW
bombtrack - thanks - it worked....

I left the updater from the original instruction in there, since an internet connection might not be available at install. (I assume an error will occur in your steps).

Now - if I could get NAV2004 to update too...
mazin
WwTIPPYwW

How many times have you tried bombtrack's way of getting the updated file "reflist.ref"?

I've found a way for connecting to the Internet while in unattended mode of Windows installation. I'm still testing it, but it may work.

So, if you repeated bombtrack's way more than once with no errors, please let me know.
mazin
bombtrack

I tried your way of Wget and I got this:

--00:35:34-- http://www.lavasoft.de/update/refs/reflist.zip
=> `reflist.zip'
Resolving www.lavasoft.de... 66.117.38.101
Connecting to www.lavasoft.de|66.117.38.101|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 463,558 [application/zip]

100%[====================================>] 463,558 4.49K/s ETA 00:00

00:37:31 (3.93 KB/s) - `reflist.zip' saved [463558/463558]


PKUNZIP ® FAST! Extract Utility Version 2.50 03-01-1999
Copr. 1989-1999 PKWARE Inc. All Rights Reserved. Shareware Version
PKUNZIP Reg. U.S. Pat. and Tm. Off.

?¡ Pentium III class CPU detected.
?¡ XMS version 2.00 detected.
?¡ DPMI version 0.90 detected.

Searching ZIP: REFLIST.ZIP
Inflating: reflist.ref
1 file(s) copied.
Press any key to continue . . .

It was amazing as you can see!

But when I tried it again, it didn't work. Do you have suggestions?

Thanks.
WwTIPPYwW
QUOTE (mazin @ Mar 12 2004, 07:07 PM)
WwTIPPYwW

How many times have you tried bombtrack's way of getting the updated file "reflist.ref"?

I've found a way for connecting to the Internet while in unattended mode of Windows installation. I'm still testing it, but it may work.

So, if you repeated bombtrack's way more than once with no errors, please let me know.

i've tried it a couple times - seems to be fine. maybe I'm missing any errors.

or the point that I do it - the NIC is already loaded and at times yours isn't?

Seems to work.
hajj_3
i put this in my .bat file, when i execute it i get the following error message:

Script: C:\adaware.js
Line: 13
Char: 1
Error: The system cannot find the file specified.

Code: 80070002
Source: WshShell.Exec

i used the code you had on the previous page to make the .js file, i copied and pasted the contents and replace the *** with my password and saved it in notepad to adaware.js.

why does the error messange say c:\adaware.js not found, shouldnt it be c:\install\adaware.js ?
hajj_3
i managed to get this to work by changing:

Start %systemdrive%\adaware.js

to

Start %systemdrive%\Install\AAwP6181\adaware.js

as the adaware.js file isnt on the root drive its in c:\install\AAwP6181\

note i am running this from my harddrive, will they work once its on the cd ?
mazin
Have you renamed the program to AdAware.exe and put it in C:\ ?
hajj_3
i have renamed it, but havent put it in the c:\ due to it will go in the install directory like all of the other programs.
mazin
For you convenience, if you put those two files in a place other than C:\, the JS won't work.

I mean the ROOT, i.e., C:\ or D:\ or whatever.
ZoSTeR
Here's a script for creating a setup with Inno Setup.

Install Inno Setup.
Install Ad-aware.
Install the latest Ad-Aware ref-file. (optional)
Put the script (ad_aware.iss) into your Ad-aware program folder.
Compile the script. (Double click the ad_aware.iss file , then select Build->Compile)
You now have a setup.exe in the output folder.

You can install it with /VERYSILENT

Ad-aware doesn't write anything into the registry so it's quite straight forward.
mazin
I'm going to check it soon.
holyone
When i try to install the Ad-Aware with the instructions of mazin...
And i geting:
Windows XP setup: "Please go the Control Panel to install and configure system components"
.....
What may be the problem?
WwTIPPYwW
QUOTE (holyone @ Apr 8 2004, 06:23 PM)
"Please go the Control Panel to install and configure system components"

java not working?

trying to get to the internet?

just some guesses.
dare2001
QUOTE (ZoSTeR @ Apr 2 2004, 08:25 PM)
Here's a script for creating a setup with Inno Setup.

Install Inno Setup.
Install Ad-aware.
Install the latest ref-file.
Put the script into your Ad-aware program folder.
Compile it. (Double click, Build->Compile)
You now have a setup.exe in the output folder.

You can install it with /VERYSILENT

Ad-aware doesn't write anything into the registry so it's quite straight forward.

I have just tried it and finally a proper install without the password box.
Great job in letting us know about this way of installing it. thumbup.gif
mazin
Yes, it's a great job made by ZoSteR.

You can go to this link for more information:

http://www.msfn.org/board/index.php?showtopic=17540&st=0

I guess WwTIPPYwW is right. I haven't had such a message before.
WwTIPPYwW
Here is mine - it works perfectly. I got a lot of help with this from users in this forum/thread. So when I say "mine" - I mean what I use, not what I made.

UPDATE I added the -t1 to the WGET line to make it only retry once- otherwise it never stops trying, and that could be a problem if you don't have Internet working at this point.

NOTE - this is for installing the software from the CD, and not copying it over to the hard drive first. Use what you can out of it...
RunOnceEx.cmd
CODE
REG ADD %KEY%\035 /VE  /D "Ad-Aware Pro v6 Build 181" /f
REG ADD %KEY%\035 /V 1 /D "%CDROM%\Software\AAwP6181\install.bat" /f
REG ADD %KEY%\035 /V 2 /D "%CDROM%\Software\AAwP6181\update.bat" /f


install.bat
CODE
cls
cmdow @ /HID
@echo off

IF EXIST D:\CD.id set CDROM=D:
IF EXIST E:\CD.id set CDROM=E:
IF EXIST F:\CD.id set CDROM=F:
IF EXIST G:\CD.id set CDROM=G:
IF EXIST H:\CD.id set CDROM=H:
IF EXIST I:\CD.id set CDROM=I:
IF EXIST J:\CD.id set CDROM=J:

ECHO.
ECHO Installing Ad-Aware Pro v6 Build 181
ECHO Please wait...
Copy %CDROM%\Software\AAwP6181\AdAware.exe %systemdrive%\
Copy %CDROM%\Software\AAwP6181\adaware.js %systemdrive%\
sleep 1
CD %systemdrive%\
Start %systemdrive%\adaware.js
sleep 9
Copy /y "%CDROM%\Software\AAwP6181\reflist.ref" "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\"
Copy /y "%CDROM%\Software\AAwP6181\prefs.ini" "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\"
Del %systemdrive%\adaware.js
Del %systemdrive%\AdAware.exe
exit


update.bat
CODE
cmdow @ /HID
@echo off
ECHO.
ECHO Updating Ad-Aware Pro v6 Build 181
ECHO If you cannot get to the Internet this will fail.
ECHO Please wait...

wget -t1 http://www.lavasoft.de/update/refs/reflist.zip
pkunzip -o -e reflist.zip
del /F reflist.zip
copy /Y reflist.ref "%programfiles%\Lavasoft\Ad-aware 6\reflist.ref"
del /F reflist.ref
exit
mazin
holyone

WwTIPPYwW showed you his stuff clearly.

If you still have problems after you try WwTIPPYwW's help, you may need to re-read the first post carefully. Perhaps, something is missing from you.
trev
I'm new at this unattended windows. So what is it about?
Aaron
QUOTE (trev @ Apr 10 2004, 11:42 AM)
I'm new at this unattended windows.  So what is it about?

See http://unattended.msfn.org
trev
This is interesting! Is it kinda illegal though in a way?
WwTIPPYwW
QUOTE (trev @ Apr 10 2004, 08:59 AM)
This is interesting!  Is it kinda illegal though in a way?

illegal - not if you own everything.

If you bought the software, it is just automatically/silently installing it.

If you are using illegally obtained software in the cd- then its bad.
WwTIPPYwW
UPDATE I added the -t1 to the WGET line to make it only retry once- otherwise it never stops trying, and that could be a problem if you don't have Internet working at this point.

Search through this thread for the complete post.
1chaoticadult
ZoSTeR that script worked greated!!! thanks for your help.
Brando569
i have a slight (and wierd) problem with wget, when i execute it directly from the command line it works great, when i execute it from my start.bat batchfile it works and the download completes successfully but the file and log (yes i specified it to create a log) are nowhere to be found! whats even more odd is when i put the args for it to d/l the ref file in a batch file by itself it goes into an infinite loop for some odd reason. any suggestions on what might be causing this? ive tried downloading alternate versions but theres no configure.bat like it says there supposed to be so i cant compile it, ive also tryed to download the one called something like wget.1.9.s.complete and extracted it since it was already compiled and placed wget.exe and the 2 dll's in my c:\windows directory and it still does the same thing..... any suggestions on this? and BTW thanks alot and grate job to the ppl who made these scripts their wonderful! smile.gif one more thing the version of sleep that is linked at the top for some reason didnt work for me cmd kept saying "unable to execute program" or something along those lines, this is where i found the one that worked for me http://www.computerhope.com/dutil.htm

*edit* one other thing i forgot when the batch file has executed all of the commands about 5 to 10 seconds later that javascript retypes my AdAware password and hits enter. is there anyway to stop this?
WwTIPPYwW
put your batch file in here for reference.....
mazin
Ad-Aware - MSI solution

The attached package (27 kb) should solve your problems, I hope. No need for JS. No need for sleep.exe. No Password Screen. You need only this line in your batch file:

start /wait %systemdrive%\Install\AdAware6\AdAware6.msi

Use the following switch to extract "Ad-aware.6.Pro.Built.181.exe":

C:\aaware\Ad-aware.6.Pro.Built.181.exe /x c:\aaware

It will ask for password. Yes! Type your pasword, then go to c:\aaware\ You should find these files over there. Put each file in the proper place inside the package as denoted between brackets. The last two files won't be put in your package, so delete them.

01- aawhelper.dll --> Program Files\Lavasoft\Ad-aware 6\
02- Ad-aware.exe --> Program Files\Lavasoft\Ad-aware 6\
03- Ad-watch.exe --> Program Files\Lavasoft\Ad-aware 6\
04- alert.wav --> Program Files\Lavasoft\Ad-aware 6\
05- default.det --> Program Files\Lavasoft\Ad-aware 6\
06- description.ini --> Program Files\Lavasoft\Ad-aware 6\
07- Deutsch.bmp --> Program Files\Lavasoft\Ad-aware 6\Lang\
08- Deutsch.det --> Program Files\Lavasoft\Ad-aware 6\Lang\
09- Deutsch.ini --> Program Files\Lavasoft\Ad-aware 6\Lang\
10- English.bmp --> Program Files\Lavasoft\Ad-aware 6\Lang\
11- English.det --> Program Files\Lavasoft\Ad-aware 6\Lang\
12- English.ini --> Program Files\Lavasoft\Ad-aware 6\Lang\
13- fhexdump.dll --> Program Files\Lavasoft\Ad-aware 6\Plugins\
14- filespecs.dll --> Program Files\Lavasoft\Ad-aware 6\Plugins\
15- manual.chm --> Program Files\Lavasoft\Ad-aware 6\
16- plugdest.mp --> Program Files\Lavasoft\Ad-aware 6\Plugins\
17- reflist.ref --> Program Files\Lavasoft\Ad-aware 6\
18- sites.txt --> Program Files\Lavasoft\Ad-aware 6\
* unregaaw.exe --> Don't put this file
* UnWise.exe --> Don't put this file

If you haven't got file number 16 (plugdest.mp) extracted, then create an empty text file and name it "plugdest.mp", and add it to your MSI.

Put your "prefs.ini" in (Program Files\Lavasoft\Ad-aware 6\). Clean your prefs.ini before adding it to the package, or download mine from Page 1.

If you have a recent "reflist.ref", then replace the extracted one.

You can uninstall the program from Control Panel as usual.
________________________________________
This is the power of WinINSTALL LE, the free program.
WinINSTALL LE home.
WinINSTALL LE on MSFN.
Brando569
nice! but a lil too late for me i completed it successfully in about two hours (about an hour was finding a cmd line utility to extract zip files mad.gif ) well heres my batch file if you guys want it and yea i still need help with it the script sending my password for adaware (it sends it 2x )

ECHO Installing Ad-Aware Pro v6 Build 181
Copy %systemdrive%\install\Applications\AdAware6Pro\sleep.exe %systemroot%\
Copy %systemdrive%\install\Applications\AdAware6Pro\AdAware.exe %systemdrive%\
Copy %systemdrive%\install\Applications\AdAware6Pro\adaware.js %systemdrive%\
sleep 1
CD %systemdrive%\
Start %systemdrive%\adaware.js
sleep 10
ECHO Getting an updated reference file.....
wget -t2 --output-file=%systemdrive%\wget.log http://www.lavasoft.de/update/refs/reflist.zip
sleep 5
unzip reflist.zip
sleep 1
copy /Y reflist.ref "%programfiles%\Lavasoft\Ad-aware 6\reflist.ref"
Copy "%systemdrive%\install\Applications\AdAware6Pro\prefs.ini" "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\"
ECHO Installing Plug-Ins...
copy %systemdrive%\install\Applications\AdAware6Pro\fhexdump.dll "%programfiles%\Lavasoft\Ad-aware 6\plugins"
copy %systemdrive%\install\Applications\AdAware6Pro\lspexpl.dll "%programfiles%\Lavasoft\Ad-aware 6\plugins"
copy %systemdrive%\install\Applications\AdAware6Pro\filespecs.dll "%programfiles%\Lavasoft\Ad-aware 6\plugins"
ECHO Deleting copied files...
Del %systemdrive%\adaware.js
Del %systemdrive%\AdAware.exe
Del %systemdrive%\reflist.ref
Del %systemdrive%\reflist.zip
ECHO Done!
ECHO.
mazin
Good work, Brando569.

By the way, there are two other methods. One on page 2, provided by ZoSTeR, and one on this page.

So, users who complain about the JS file can switch to another method.
Brando569
QUOTE (mazin @ May 8 2004, 02:09 PM)
Good work, Brando569.

By the way, there are two other methods. One on page 2, provided by ZoSTeR, and one on this page.

So, users who complain about the JS file can switch to another method.

thanks mazin smile.gif it took me a lil while to complete it even though its pretty much the same thing as yours I just added a few things (installing the plugins i found out theres no need for the setup files for it considering all it does is extract the DLLs and place them in the plugin directory and the thing that i like the most (besides the JS idea) is the autoupdate of the ref file each time you install windows) smile.gif I decided to post this incase any1 needed help
mazin
Well, Brando569.

I, always, install Ad-Aware silently. So, I have never seen these files installed:

Deutsch.bmp (Lang folder)
Deutsch.det (Lang folder)
Deutsch.ini (Lang folder)

fhexdump.dll (Plugins folder)
filespecs.dll (Plugins folder)

But, since I use the English UI, the first three files are not necessary to me.

The last two files were never installed on my PC. The program performs well, though.

But what about this file: lspexpl.dll? It's not found on my PC!

I downloaded the program on 28/10/2003. When did you download yours?

EDIT: Alright, I searched and found some useful information about plugins. I'll post it soon.
mazin
Ad-Aware - Plugins

These are all the plugins available so far for Ad-Aware along with their direct download link, size, and description.

Before you decide to download a plugin, have a look at your C:\Program Files\Lavasoft\Ad-aware 6\Plugins\

So, you can download missing plugins only. To extract a plugin, apply this switch:

C:\plug\ploewmessengerctrl.exe /x c:\plug

After extracting all plugins, pick the DLLs only, then put them inside C:\Program Files\Lavasoft\Ad-aware 6\Plugins\

Alternatively, you can run the exe of each plugin to install it as usual.


1- Messenger-Control

DDL: http://lavasoftnews.com/plugins/plmessengerctrl.exe (372 kb)

Description
-------------
Beginning with Windows NT, Microsoft included the Windows Messenger Service, and it's been built-in to each subsequent version and release of Windows over the past several years. It was originally designed to allow system administrators on client-server networks to send out brief system-wide messages to everyone connected to the network. For the most part, it's never gained much use since there are easier alternatives to sending such messages.

It is being put to use however, by those who know that this Service is turned on by default in all current versions of Windows. If you've been connected to the Internet and suddenly see a window pop-up filled with information about the latest "get-rich-scheme," a college diploma, or low-rate credit cards, you're being spammed courtesy of Windows Messenger Service! Note that these are not browser windows, but resemble Windows Dialog boxes (with "Messenger Service" in the title bar), with the exception that you're generally offered no "options" besides clicking an "OK" button.

Windows Messenger Service is an Internet server that's up and running on your machine, leaving it open to anyone who wants to connect to it when you're online. Unlike annoying browser pop-ups, which only show up if Internet Explorer or another browser is running, spam utilizing Windows Messenger Service can be received no matter what application you mightbe using, as long as you're connected to the Internet.

For the typical user, having Messenger Service running opens an unnecessary "back door" that can compromise system security and which can be shut and locked tight easily. On October 15th of this year, Microsoft released Security Bulletin MS03-043 which outlines potential ways malicious programmers can exploit a flaw in the Messenger Service using buffer overflows to take control of your system. According to Microsoft, "An attacker who successfully exploited this vulnerability could be able to run code with Local System privileges on an affected system, or could cause the Messenger Service to fail. The attacker could then take any action on the system, including installing programs, viewing, changing or deleting data, or creating new accounts with full privileges." At this point, there are no known examples of malware taking advantage of this loophole, but it's almost certain that as this problem becomes more well known, attacks on systems vulnerable to this threat will occur.

Turning off Windows Messenger Service also has the added benefit of freeing up a little extra RAM and CPU cycles. If for no other reason than to shut off spam it's worth the few seconds it takes to turn it off.

Unfortunately, just as there are people ready and willing to exploit system flaws with malevolent intent, there are also those geared-up to sell you a program to take care of the problem. A quick check of any search engine or shareware site will turn up dozens, ranging in price from a few dollars to nearly $30 US. One site that sells the software to generate Messenger spam even tells you how to keep it from affecting your computer!

Although you can do it yourself by wading through some menus and options turning off Windows Messenger Service, using Lavasoft's Messenger-Control plug-in for Ad-aware is a simpler option. All you need to do is download the plug-in. Then extract and run the installation executable, which will put the plug-in in the correct folder. After that you just run Ad-aware, click the "Plug-ins" button, and double click on Messenger-Control. Select "Disable Messenger," and the Service will be shut down. Should you ever need to restore it, follow the same directions and click "Enable Messenger".

If you're using a standalone machine not connected to a LAN, you can generally turn off Windows Messenger Service with no problems, although there are some programs that make legitimate use of the Service. Those connected to a local area network will want to contact their system administrator first just in case they make use of it.

Also, shutting off Windows Messenger Service will have no effect on any of the popular "instant messaging" systems you might be using; they don't rely on Windows Messenger Service (irrespective of its name) to function.

2- OE/WMessenger

DDL: http://www.lavasoftnews.com/plugins/ploewmessengerctrl.exe (371 kb)

Description
-------------
Disable Windows Messenger From Appearing When You Open Outlook Express

Many users opt not to use Microsoft Windows Messenger for their instant messenger program. Despite the fact that Microsoft Windows XP users have turned off the auto-start feature of Windows Messenger, it continues to open when Microsoft Outlook Express is use.

It should be noted that this only occurs on systems running Microsoft Windows XP. Other versions of Microsoft Windows do not experience this.

If you have disabled Windows Messenger's auto-start function, and you'd like it to remain closed while using Outlook Express, we have created a plug-in which will allow you to prevent Windows Messenger from starting when Outlook Express launches. The plug-in allows you to switch between disabling and enabling Windows Messenger's auto-launch status when opening Outlook Express. When Windows Messenger is disabled, you may also notice faster load times when opening Outlook Express.

3- LSP Explorer

DDL: http://www.lavasoft.de/res/pllspexplore.exe (466 kb)

Description
-------------
Layered Service Providers (LSP) are small pieces of software that can be added or inserted into the Windows TCP/IP handler by other software. Data outward bound from your computer to a legitimate destination on the Internet can be intercepted by an LSP and sent somewhere other than where you intend it to go. LSP Explorer lets you view active LSP and Name Service Providers on your system, along with detailed information about each so you can determine whether or not they're legitimate. Access LSP Explorer can be run directly from the Plug-ins menu. LSP Explorer works with all versions of Ad-aware.

4- HexDump

DDL: http://www.lavasoft.de/res/plhexdump.exe (406 kb)

Description
-------------
With many files (cookies for example) there's no easy way to view any information about them. The HexDump extension for Ad-aware lets you view a hexadecimal version of a file turned up in a scan, along with an "English" translation of the hex code. This can provide you with additional information you may find handy such as the URL of the originator of a cookie. Access the HexDump extension at the "Scanning Results" screen; right-click on a file and choose "Extensions | Create hex-dump of object." HexDump works with all versions of Ad-aware.

5- FileSpecs

DDL: http://www.lavasoft.de/res/plfilespecs.exe (513 kb)

Description
-------------
If you're interested in more information about a given file than Ad-aware supplies in the "Scanning Results" screen, choose The FileSpecs plug-in from the right-click menu under "Extensions | Extract file details." The plug-in will provide you with a wealth of data about the file, including File Information Resources (file name, location, size, creation date, and the last time it was accessed or modified), and PE Information, including complete PE Header information. FileSpecs works with Ad-aware Professional.
mazin
Ad-Aware - Languages

This is the language package for Ad-Aware.

DDL: http://updates.ls-servers.com/aaw-lang-pack.exe (342 kb)

22 languages are contained in this package, excluding English language. They are:

- Arabic
- Brazil
- Catalan
- Czech
- Danish
- Deutsch
- Dutch
- Espa?ol
- Estonian
- Francais
- Greek
- Hebrew
- Italian
- Korean
- Magyar
- Norsk
- Polski
- Portuguese
- Russian
- Suomi
- Svenska
- Traditional Chinese (HK)(Taiwan)

You can use this switch to extract the package:

C:\lang\aaw-lang-pack.exe /x c:\lang

You should find three files related to each language, they are:

- xxxxxx.bmp
- xxxxxx.det
- xxxxxx.ini

Pick the files you need, then put them in C:\Program Files\Lavasoft\Ad-aware 6\Lang\

When you start Ad-Aware, you can choose your language from: Settings -> Language file

Alternatively, you can run aaw-lang-pack.exe, then choose the language(s) you want installed.

Note: If your language is not listed, you can create its files yourself! It's easy.
Brando569
exactly my friend, they're plugins smile.gif
hevnbnd
mazin

In your Ad-Aware msi that is in a rar download form you have it adding a file called mp. There is no such file i dont know if this was a mess up on your part but you might fix it for people that dont know what they are doing. Thanks for all your great work. B
mazin
hevnbnd

I've got it when extracting the way I mentioned. Haven't you?
hevnbnd
Nope i did not get a file called "mp." I ussed method 3 and everything is all good after i deleted the file mp from the msi package. Not sure what is up there...

On another note did you get my message about roxio 7
mazin
Well! Since you haven't got it when extracting, you'd better delete it from the MSI.
Have you compressed the MSI, later?

Yes, I've read your PM. For sorry, I don't have this app on my computer. But, can you reproduce the problem you had?
mazin
Ad-aware shell integration

You can add these lines to your batch file to integrate Ad-aware to Explorer shell:

QUOTE
REG ADD "HKCR\Drive\shell\Scan with Ad-aware...\Command" /ve /t REG_SZ /d "\"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Ad-aware.exe\" \"%%1\" \"+SD\"
REG ADD "HKCR\Directory\shell\Scan with Ad-aware...\Command" /ve /t REG_SZ /d "\"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Ad-aware.exe\" \"%%1\" \"+SD\"
Since Ad-aware is not integrated to the shell by default when installed, those registry values won't be there already. So, we don't have to use the /f switch to force overwriting.

However, if the /f switch is a perpetual habit of yours, then use these lines instead:

QUOTE
REG ADD "HKCR\Drive\shell\Scan with Ad-aware...\Command" /ve /t REG_SZ /d "\"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Ad-aware.exe\" \"%%1\" \"+SD\"" /f
REG ADD "HKCR\Directory\shell\Scan with Ad-aware...\Command" /ve /t REG_SZ /d "\"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Ad-aware.exe\" \"%%1\" \"+SD\"" /f


Also, you can add these lines to your batch file to delete related desktop shortcuts:

QUOTE
del "%USERSPROFILE%\Desktop\Ad-aware 6.0.lnk"
del "%USERSPROFILE%\Desktop\Ad-watch 3.0.lnk"


I'll update the first post with these new lines, soon.
mazin
prefs.ini - Default Language + Logs Folder

There are several easy methods to copy our customized prefs.ini during unattended installation of Ad-aware.

What wasn't easy is setting the default language to our own language. Now on, it's going to be easy. Before we begin, let's have a look at our customized prefs.ini.

I customized and cleaned these Options in my prefs.ini this way:

[Custom]
SkipKb=4096
AWmode=1
LastScanMode=2
[EngineStats]
lastDeepScn=1
ObjectsRemoved=0
scanstotal=0
lastscan=-
[StartupPrefs]
Mode=0
DoAutoClean=1
DoAutoClose=1
DoMinimizeAW=1
DoAutoBlockAW=1
[WebUpdate]
Doproxy=0
ProxyAddr=127.0.0.1
ProxyPort=8080

Options [UserPrefChain] and [UserPrefChainEx] need no cleaning since they're customized without reference to a date, time, path or whatever.

For our language trick of today, we need to keep the [Paths] Option without any entries under it, except an empty line. It should look like this one:

[Paths]
Please, leave this line empty. Do not delete it.

So, that empty line is the last line in our customized prefs.ini.

Now, you burn your customized prefs.ini to your unattended CD cleaned as mentioned above.

In your batch file, add these lines:
QUOTE
copy %systemdrive%\Install\AAwP6181\prefs.ini "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\"
attrib -r "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\prefs.ini"
copy %systemdrive%\Install\AAwP6181\Danish.* "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Lang\*.*"
echo langfile=%systemdrive%\Program Files\Lavasoft\Ad-aware 6\lang\Danish.ini>>"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\prefs.ini"
echo Wavefile=%systemdrive%\Program Files\Lavasoft\Ad-aware 6\alert.wav>>"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\prefs.ini"
echo Reffile=%systemdrive%\Program Files\Lavasoft\Ad-aware 6\reflist.ref>>"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\prefs.ini"
echo logfilepath=%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Logs>>"%systemdrive%\Program Files\Lavasoft\Ad-aware 6\prefs.ini"
MD "%systemdrive%\Program Files\Lavasoft\Ad-aware 6\Logs"

This batch copies the three files needed by a user, whose native tongue is Danish, to the Lang folder. The three files are:

- Danish.bmp
- Danish.det
- Danish.ini

Also, it inserts these entries into prefs.ini according to your system drive and the language you chose in the batch:

logfilepath=C:\Program Files\Lavasoft\Ad-aware 6\Logs
langfile=C:\Program Files\Lavasoft\Ad-aware 6\Lang\Danish.ini
Wavefile=C:\Program Files\Lavasoft\Ad-aware 6\alert.wav
Reffile=C:\Program Files\Lavasoft\Ad-aware 6\reflist.ref

The Logs folder and its entry in prefs.ini is for a clean directory of Ad-aware. When you make scans, all log files will be put there!
leungda
I just try the NO PASSWORD method from mazin provided. When it install, it said missing "mp" file..... Where can I get the "mp" file?
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.