Jump to content

Close Ad-aware and Isobuster after install


TBlaster

Recommended Posts

Hi there

After installing Ad-aware or Isobuster in silent mode, the install program starts up the program. How can I close the programs? I am using the WPI interface and here are my codes:

prog[pn]=['IsoBuster Pro 1.7']
uid[pn]=['IsoBuster']
desc[pn]=['Installs IsoBuster Pro 1.7.']
ordr[pn]=[1]
cmd1[pn]=['%CDROM%\\Install\\IsoBuster_Pro_v1.7\\IsoBuster_1.7.exe /silent']
cmd2[pn]=['%CDROM%\\Install\\IsoBuster_Pro_v1.7\\Isobuster.js']
rega[pn]=['%CDROM%\\Install\\IsoBuster_Pro_v1.7\\IsoBuster.reg']
dflt[pn]=['no']
cat[pn]=['DVD']
pn++

prog[pn]=['Lavasoft Ad-Aware SE Professional 1.05']
uid[pn]=['AdAware']
desc[pn]=['Installs Lavasoft Ad-Aware SE Professional 1.05.']
ordr[pn]=[1]
cmd1[pn]=['%CDROM%\\Install\\Lavasoft_Ad-Aware_SE_Professional_1.05\\Lavasoft_Ad-Aware_SE_Professional_1.05.exe /s']
cmd2[pn]=['%CDROM%\\Install\\Lavasoft_Ad-Aware_SE_Professional_1.05\\Ad-Aware.js']
dflt[pn]=['no']
cat[pn]=['Security']
pn++

Isobuster.js:

var WshShell = WScript.CreateObject ("WScript.Shell");
WshShell.RUN ("taskkill /F /IM isobuster.exe");

Ad-aware.js:

var WshShell = WScript.CreateObject ("WScript.Shell");
WshShell.RUN ("taskkill /IM Ad-Aware.exe /F");
WshShell.RUN ("taskkill /IM hh.exe /F");
Copy /y "%CDROM%\\Install\\Lavasoft_Ad-Aware_SE_Professional_1.05\\defs.ref" "%systemdrive%\\Programmer\\Lavasoft\\Ad-Aware SE Professional\\"

The codes that I have displayed above are what I thought might be a possible way to solve the problem, but it dosen't work. How else can I call the taskkill command. Also the copy command above dosen't work but I suspekt that it's because i am calling it all wrong. Can anyone help?

Link to comment
Share on other sites


Workaround for AdAware:

-install the program

-update definitions

-change settings if you want (like language etc.)

Then:

-copy Lavasoft folder from Program Files\

-for settings copy Lavasoft folder from %userprofile%\Application Data\

-and if you want uninstall link into add/remove programs copy from registry

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Ad-Aware SE Personal]

.

Finally just copy these into the right places in your unattended install,

mmainio

Link to comment
Share on other sites

I don't use wpi so add this to a .cmd and call it

On the Adaware

REG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait SLEEP.EXE 8" /f
REG ADD %KEY%\iAdd /V Inum /D "CMD /C pskill Ad-Aware" /f
REG ADD %KEY%\iAdd /V Inum /D "CMD /C Pskill HH.exe" /f

I make it sleep for 8 seconds cause them other windows pop up then kill them.

Isobuster

REG ADD %KEY%\iAdd /V Inum /D "%SystemRoot%\System32\Pskill IsoBuster" /f

basically all you need is the Taskill or pskill either one and place in .cmd file

Pskill IsoBuster

Link to comment
Share on other sites

I tried creating .cmd files with exactly what you wrote in you message, but it dosen't seem to work. I therefore tried installing isobuster and not closing the program and then I ran the .cmd file which gave me the following error:

invalid keyname.

My .cmd file consists of the following line:

REG ADD %KEY%\iAdd /V Inum /D "%SystemRoot%\System32\Pskill IsoBuster" /f

Link to comment
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...