Jump to content

Recommended Posts

Posted

Is there a way to keep the unattended install from hanging when a driver install pops up an "OK" input dialog box? (I have to click "OK" before installation can continue pass that point.)

Window Title: "Installation Complete"

Message: "The 3ware Escalade Service has now been successfully installed."

Button: "OK"

Tried to work around the problem using the following scripts via the "cmdlines.txt" method, but it hangs the MSDOS command line interpreter when the wscript command is executed:

$OEM$\cmdlines.txt

[COMMANDS]
"Install.cmd"
"RunOnceEx.cmd"

$OEM$\$1\Install\3wareCheck.js

function getWin(win, inc)
{
while (!WshShell.AppActivate(win))
{
WScript.Sleep(inc);
}
return true;
}
var WshShell = new ActiveXObject("WScript.Shell");
getWin("Installation Complete", 5000);
WshShell.SendKeys ("{ENTER}");
WScript.Sleep(100);
WScript.quit();

$OEM$\Install.cmd

REM cmdow @ /HID
REM @echo off
REGEDIT /S %systemdrive%\Install\RegTweaks.reg
start /wait %systemdrive%\Install\Audio\Realtek\setup.exe /s
sleep 1
start /wait %systemdrive%\Install\Video\wxp-w2k-8-03-040610a-016126c\setup.exe /s
sleep 1
start /wait %systemdrive%\Install\Video\control-panel-8-03-040610a-016126c\setup.exe /s
sleep 1
start /wait %systemdrive%\Install\Video\tv-capture-wdm-6-14-10-6240\setup.exe /s
sleep 1
start /wait %systemdrive%\Install\Multimedia\WMEncoder\WMEncoder.msi /qn
sleep 1
start /wait %systemdrive%\Install\Video\mmc-9-1-0-0-dao-mdac\setup.exe /s
sleep 1
start /wait %systemdrive%\Install\Video\mmc-9-1-0-0\setup.exe /s
sleep 1
start /wait %systemdrive%\Install\Video\DVDDcdr\setup.exe /s
sleep 1
wscript %systemdrive%\Install\3wareCheck.js
start /wait devcon install %systemdrive%\Install\3ware\oemsetup.inf PCI\VEN_13C1
sleep 1

The 3wareCheck.js script works ok from a user MSDOS shell environment, but not from inside an unattended install MSDOS shell environment.


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