Help - Search - Members - Calendar
Full Version: Unattended Switches for Netzero client?
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
nateklomp
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 /S
ECHO.
ECHO Killing Netzero.exe process
taskkill.exe /F /IM exec.exe

It 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...
WwTIPPYwW
maybe close.vbs?

close.vbs

CODE
Set WshShell = WScript.CreateObject("WScript.Shell")

WScript.Sleep 1000
WshShell.Sendkeys "%{F4}"


do this:

ECHO Installing NetZero 7.0 Client...
ECHO Please wait...
start /wait %systemdrive%\Apps\Netzero.exe /S
start /wait %systemdrive%\Apps\close.vbs
ECHO.
ECHO Killing Netzero.exe process
taskkill.exe /F /IM exec.exe

of course if you put close.vbs in \$OEM$\$$\System32 you'd just need to do
start /wait close.vbs

Also - install this before any antivirus software - otherwise the vbs script will probably be blocked.
nateklomp
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.
nateklomp
Hey,
Great, finally got it to work...


Install.cmd:
---
ECHO .Installing NetZero free internet access client...
start %systemdrive%\INSTALL\Netzero.exe /S
ECHO Completing Installation...
start %systemdrive%\INSTALL\close.vbs
ECHO. Closing Netzero Client...
start %systemdrive%\INSTALL\close.vbs
ECHO .Killing Netzero application...
TASKKILL.EXE /F /IM exec.exe
---
close.vbs:
---
Set WshShell=WScript.CreateObject("WScript.Shell")
WScript.Sleep 1000
WshShell.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 1000
WshShell.Sendkeys"~"
WScript.Sleep 5000
WshShell.Sendkeys"%{F4}"
---

Unfortunately, it seems kinda risky in an unattended setup.
Thanks again!
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.