Sesshoumaru Posted August 21, 2004 Posted August 21, 2004 i am installing some aps with this method, but 2 of them need to be "killed" after instalation.o followed the examples but it isn't closing em.do i need an executable "called" taskkill placed somewhere ?this are my lines:REG ADD %KEY%\044 /VE /D "quintesential player" /fREG ADD %KEY%\044 /V 1 /D "%systemdrive%\install\quint\quint.exe /S" /fREG ADD %KEY%\025 /V 2 /D "taskkill.exe /F /IM qcdplayer.exe" /fREG ADD %KEY%\025 /VE /D "IsoBuster 1.6" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\ISObuster\IsoBuster16.exe /VERYSILENT /SP-" /fREG ADD %KEY%\025 /V 2 /D "taskkill.exe /F /IM isobuster.exe" /f
Aaron Posted August 21, 2004 Posted August 21, 2004 Taskkill may have executed too early and didn't find the running process. I can only suggest giving a pause of 10 seconds or so using sleep.exe
Bâshrat the Sneaky Posted August 21, 2004 Posted August 21, 2004 can u pls post and example of sleep.exeGet sleep and run "sleep /?" to see possible commands.
BetaDroid™ Posted August 21, 2004 Posted August 21, 2004 Its here http://unattended.msfn.org/xp/downloads.htm
CoffeeFiend Posted August 21, 2004 Posted August 21, 2004 Nice. That might replace one of my vbscripts then (because of the simplicity). My script was going thru the list of active tasks, looking for the right app, if not found wait, then repeat until app is active or it times out (tweakable). Then if time is active it terminated it's process... (mostly using WMI)
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