May 21, 200422 yr Hello All,I use Netzero for backup dial-up connection, and would like to include the client in my unattended installs. Here's what I've got so far:ECHO Installing NetZero 7.0 Client...ECHO Please wait...start /wait %systemdrive%\Apps\Netzero.exe /SECHO.ECHO Killing Netzero.exe processtaskkill.exe /F /IM exec.exeIt works ok except that the installer opens a pop-up alert box warning to "close all browser windows before proceeding" which has to closed before batch can continue; what I'd like to know is how to disable it...
May 22, 200422 yr maybe close.vbs?close.vbsSet WshShell = WScript.CreateObject("WScript.Shell")WScript.Sleep 1000WshShell.Sendkeys "%{F4}"do this:ECHO Installing NetZero 7.0 Client...ECHO Please wait...start /wait %systemdrive%\Apps\Netzero.exe /Sstart /wait %systemdrive%\Apps\close.vbsECHO.ECHO Killing Netzero.exe processtaskkill.exe /F /IM exec.exeof course if you put close.vbs in \$OEM$\$$\System32 you'd just need to do start /wait close.vbsAlso - install this before any antivirus software - otherwise the vbs script will probably be blocked.
May 25, 200422 yr Author Thanks Mate,Unfortunately it doesn't work as intended, rather it "corrupts" the application install.Also, it can't be run with a start /wait previous--it won't kick off until after the /wait is reconciled, so you have to click on the alert box anyway.Ah, well...some things just have to be manually installed, I guess.
May 25, 200422 yr Author Hey,Great, finally got it to work...Install.cmd:---ECHO .Installing NetZero free internet access client...start %systemdrive%\INSTALL\Netzero.exe /SECHO Completing Installation...start %systemdrive%\INSTALL\close.vbsECHO. Closing Netzero Client...start %systemdrive%\INSTALL\close.vbsECHO .Killing Netzero application...TASKKILL.EXE /F /IM exec.exe---close.vbs:---Set WshShell=WScript.CreateObject("WScript.Shell")WScript.Sleep 1000WshShell.Sendkeys"~"---Seems obvious, now that you've shown me how to use a VBS.Alternately, I suppose I could have done this:close.vbs:---Set WshShell=WScript.CreateObject("WScript.Shell")WScript.Sleep 1000WshShell.Sendkeys"~"WScript.Sleep 5000WshShell.Sendkeys"%{F4}"---Unfortunately, it seems kinda risky in an unattended setup.Thanks again!
Create an account or sign in to comment