Jump to content

Wavelab 4.0f


boskap

Recommended Posts


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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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