• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Sign in to follow this  
Followers 0
jorsak

ad-aware silent install

19 posts in this topic

Since so many have been helpful to me, I wanted to give back what I could to the community.

After installing ad-aware, the help file and update automatically run. I could not find anywhere the switches to disable these, so I managed a work around. If this can save someone else time, wonderfull!.

First, download the utility pskill (freeware) from the following:

http://www.sysinternals.com/ntw2k/freeware/pskill.shtml

Then put the pskill.exe in whatever folder you are running your install from (for me it was the "TCGDiagnosticsApps" folder.

The commands look like this:

ECHO.

ECHO Installing Ad-Aware SE Personal 1.05

ECHO Please wait...

start /wait %systemdrive%\TCGDiagnosticsApps\aawsepersonal.exe /SILENT

start /wait %systemdrive%\TCGDiagnosticsApps\pskill.exe hh.exe

start /wait %systemdrive%\TCGDiagnosticsApps\pskill.exe ad-aware.exe

The end result is a completely silent install of ad-aware. Hope this helps someone.

:-)

0

Share this post


Link to post
Share on other sites

you could juset use taskkill

REG ADD %KEY%\000 /V 2 /D "TASKKILL /F /IM Ad-Aware.exe"
REG ADD %KEY%\000 /V 3 /D "TASKKILL /F /IM hh.exe"

0

Share this post


Link to post
Share on other sites

Exactly!

I also needed something a little more generically viable since I will be using this in many environment as part of an install process for a bunch of different diagnostics apps.

PSKill works on NT3.5, NT4.0, 2K, and all flavors of XP. Which, in my humble, and very limited knowledge, is a better situation than Taskkill allows for.

But thanks for the script info for task

0

Share this post


Link to post
Share on other sites

As a side note, does anyone know of a good utility for killing processes in 9x?

0

Share this post


Link to post
Share on other sites

Found a new (freeware) Process killing application that is compatible with: Win9X, WinME, NT, 2000 and XP. It's called Procrecon. It can be found at:

http://www.webchitect.com/ProcRecon/download.html

Using it, the above example of ad-aware's help menu and application termination afte r asilent install would like like:

ECHO.

ECHO Installing Ad-Aware SE Personal 1.05

ECHO Please wait...

start /wait %systemdrive%\X\aawsepersonal.exe /SILENT

start /wait %systemdrive%\X\ProcRecon.exe /t "Ad-Aware SE Personal"

start /wait %systemdrive%\X\ProcRecon.exe /t "Ad-Aware SE Personal edition"

X = the location of your install script.

0

Share this post


Link to post
Share on other sites

Doesn't this release need a serial to be entered at installation time like the Pro version?

0

Share this post


Link to post
Share on other sites

Nope. The SE personal 1.5 version is the free version you can get from anywhere.

0

Share this post


Link to post
Share on other sites

Well some thing that could be done is to edit my pro build I just released to work with the PE version.

[link]

Just post it to that thread once done...and don't forget to tag your nick in as author :)

0

Share this post


Link to post
Share on other sites

Guys, do you happen to know how to default the Ad-aware program to NOT automatically run the helpfile, update, and system scan after install?

I'm using my program/script to kill these apps after the install but it's a pain and creates extra work that shouldn't have to be there.

IF anyone knows a way to have them turned off by default that would be a GREAT help.

0

Share this post


Link to post
Share on other sites

@jorsak, they way your doing is the only way, at least until Lavasoft do a new release withoutthat part happening

0

Share this post


Link to post
Share on other sites

Thanks for the info. The problem isn't the "work" as much as the part of the unknown time before as-aware opens. Ad-aware.exe only opens AFTER the downloaded update installs. So, on some slower machines or machines with slower internet connections, the ad-aware.exe files doesn't open until AFTER the kill command has executed. I THOUGHT that the /wait command made it not execute the next line until AFTER the previous line had ran.

Is there a way to insure that the kill lines don't run until ad-aware.exe has launched?

0

Share this post


Link to post
Share on other sites

The help and download now box appear, whether you have a net connection or not.

I pause for 10secs, and this is sufficient to open them both beofre being killed.

0

Share this post


Link to post
Share on other sites

Or, in the case of Ad-Aware SE Personal, just create an SFX Rar file of the lavasoft directory in Program Files and copy it back over. And if you like, create the shortcuts on the desktop and in the Start menu. I do this for 1.05 and it works flawlessly every time.

0

Share this post


Link to post
Share on other sites

i have a problem with ad aware.i use the folowing commands in a bat file and it works.but i cant change the direction path.i want to install the program at in a folder called Programs.But goes to the default folder (program files).

ECHO.

ECHO Installing Lavasoft Ad-Aware 6

ECHO Please wait...

start /wait .\adaware6.exe /s /DIR="C:\Programs\Lavasoft\Adaware_6"

Edited by ManosR
0

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.