MadCat1968 Posted July 16, 2004 Share Posted July 16, 2004 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.jsfunction 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.cmdREM cmdow @ /HIDREM @echo offREGEDIT /S %systemdrive%\Install\RegTweaks.regstart /wait %systemdrive%\Install\Audio\Realtek\setup.exe /ssleep 1start /wait %systemdrive%\Install\Video\wxp-w2k-8-03-040610a-016126c\setup.exe /ssleep 1start /wait %systemdrive%\Install\Video\control-panel-8-03-040610a-016126c\setup.exe /ssleep 1start /wait %systemdrive%\Install\Video\tv-capture-wdm-6-14-10-6240\setup.exe /ssleep 1start /wait %systemdrive%\Install\Multimedia\WMEncoder\WMEncoder.msi /qnsleep 1start /wait %systemdrive%\Install\Video\mmc-9-1-0-0-dao-mdac\setup.exe /ssleep 1start /wait %systemdrive%\Install\Video\mmc-9-1-0-0\setup.exe /ssleep 1start /wait %systemdrive%\Install\Video\DVDDcdr\setup.exe /ssleep 1wscript %systemdrive%\Install\3wareCheck.jsstart /wait devcon install %systemdrive%\Install\3ware\oemsetup.inf PCI\VEN_13C1sleep 1The 3wareCheck.js script works ok from a user MSDOS shell environment, but not from inside an unattended install MSDOS shell environment. Link to comment Share on other sites More sharing options...
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