TBlaster Posted April 16, 2005 Posted April 16, 2005 Hi thereAfter 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?
mmainio Posted April 16, 2005 Posted April 16, 2005 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
maxXPsoft Posted April 17, 2005 Posted April 17, 2005 I don't use wpi so add this to a .cmd and call itOn the AdawareREG ADD %KEY%\iAdd /V Inum /D "CMD /C Start /Wait SLEEP.EXE 8" /fREG ADD %KEY%\iAdd /V Inum /D "CMD /C pskill Ad-Aware" /fREG ADD %KEY%\iAdd /V Inum /D "CMD /C Pskill HH.exe" /fI make it sleep for 8 seconds cause them other windows pop up then kill them.IsobusterREG ADD %KEY%\iAdd /V Inum /D "%SystemRoot%\System32\Pskill IsoBuster" /fbasically all you need is the Taskill or pskill either one and place in .cmd filePskill IsoBuster
TBlaster Posted April 17, 2005 Author Posted April 17, 2005 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now