April 17, 200422 yr HiI'll try to install wavelab silenti use the switchsetup.exe /silentall works creat but at the end, i have a reboot questionDid anyone know how to surpress itthxPeter
April 18, 200422 yr thats a tricky one...built into XP is the taskkill command, which shuts down processes. you call it like thistaskkill.exe /F /IM targetprocess.exe wthe tricky part is the timing. on unattended.msfn.org they have this file sleep.exe which, when called, simply runs for x number of seconds. you could use a start /wait sleep to put a controlled delay between the installer and the killprocess.the trick is getting the timing right so that it allows the installer to fully process but cuts it prior to reboot...
April 18, 200422 yr Author Thx for the tipBut i have it done with a vbs scriptset WshShell = CreateObject("WScript.Shell")WshShell.Run (".\setup.exe /S")While WshShell.AppActivate("Install") = FALSEwscript.sleep 1000Wendwscript.sleep 1000 WshShell.SendKeys "{ESC}"this wait for the reboot window called "Install"when it come it sends esc and its donebut thx one's again
Create an account or sign in to comment