Jump to content

Recommended Posts

Posted

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...


Posted

maybe close.vbs?

close.vbs

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.

Posted

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.

Posted

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!

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...