Sesshoumaru Posted August 21, 2004 Share 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 Link to comment Share on other sites More sharing options...
Aaron Posted August 21, 2004 Share 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 Link to comment Share on other sites More sharing options...
Astalavista Posted August 21, 2004 Share Posted August 21, 2004 can u pls post and example of sleep.exe Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted August 21, 2004 Share Posted August 21, 2004 can u pls post and example of sleep.exeGet sleep and run "sleep /?" to see possible commands. Link to comment Share on other sites More sharing options...
BetaDroid™ Posted August 21, 2004 Share Posted August 21, 2004 Its here http://unattended.msfn.org/xp/downloads.htm Link to comment Share on other sites More sharing options...
CoffeeFiend Posted August 21, 2004 Share 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) Link to comment Share on other sites More sharing options...
Sesshoumaru Posted August 21, 2004 Author Share Posted August 21, 2004 i'll try sleep. 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