Hi
I'll try to install wavelab silent
i use the switch
setup.exe /silent
all works creat but at the end, i have a reboot question
Did anyone know how to surpress it
thx
Peter
Page 1 of 1
Wavelab 4.0f surpress reboot question
#2
Posted 18 April 2004 - 11:23 AM
thats a tricky one...
built into XP is the taskkill command, which shuts down processes. you call it like this
taskkill.exe /F /IM targetprocess.exe w
the 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...
built into XP is the taskkill command, which shuts down processes. you call it like this
taskkill.exe /F /IM targetprocess.exe w
the 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...
#3
Posted 18 April 2004 - 11:39 AM
Thx for the tip
But i have it done with a vbs script
set WshShell = CreateObject("WScript.Shell")
WshShell.Run (".\setup.exe /S")
While WshShell.AppActivate("Install") = FALSE
wscript.sleep 1000
Wend
wscript.sleep 1000
WshShell.SendKeys "{ESC}"
this wait for the reboot window called "Install"
when it come it sends esc and its done
but thx one's again
But i have it done with a vbs script
set WshShell = CreateObject("WScript.Shell")
WshShell.Run (".\setup.exe /S")
While WshShell.AppActivate("Install") = FALSE
wscript.sleep 1000
Wend
wscript.sleep 1000
WshShell.SendKeys "{ESC}"
this wait for the reboot window called "Install"
when it come it sends esc and its done
but thx one's again
Share this topic:
Page 1 of 1



Help
Back to top








