jorsak
Oct 24 2004, 06:52 AM
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.shtmlThen 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.
:-)
lilweirddude
Oct 24 2004, 09:57 AM
you could juset use taskkill
CODE
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"
totoymola
Oct 24 2004, 11:44 AM
Yeah. That is correct. Unless you are using Windows XP Home.
jorsak
Oct 24 2004, 12:07 PM
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
jorsak
Oct 24 2004, 12:46 PM
As a side note, does anyone know of a good utility for killing processes in 9x?
jorsak
Oct 24 2004, 02:35 PM
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.htmlUsing 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.
lilweirddude
Oct 24 2004, 03:39 PM
mazin
Oct 24 2004, 04:25 PM
Doesn't this release need a serial to be entered at installation time like the Pro version?
jorsak
Oct 24 2004, 04:31 PM
Nope. The SE personal 1.5 version is the free version you can get from anywhere.
mazin
Oct 24 2004, 08:55 PM
Thanks for the info.
totoymola
Oct 25 2004, 02:38 AM
Even the pro version doesn't requires a serial.
Nologic
Oct 25 2004, 02:54 AM
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
jorsak
Oct 25 2004, 02:15 PM
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.
oioldman
Oct 25 2004, 02:29 PM
@jorsak, they way your doing is the only way, at least until Lavasoft do a new release withoutthat part happening
lilweirddude
Oct 25 2004, 02:40 PM
its not that much work
its just 2 lines of text
jorsak
Oct 25 2004, 05:22 PM
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?
oioldman
Oct 28 2004, 07:09 AM
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.
Jito463
Oct 29 2004, 06:43 AM
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.
ManosR
Jun 11 2009, 05:15 AM
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"
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.