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" /f
REG ADD %KEY%\044 /V 1 /D "%systemdrive%\install\quint\quint.exe /S" /f
REG ADD %KEY%\025 /V 2 /D "taskkill.exe /F /IM qcdplayer.exe" /f
REG ADD %KEY%\025 /VE /D "IsoBuster 1.6" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\ISObuster\IsoBuster16.exe /VERYSILENT /SP-" /f
REG ADD %KEY%\025 /V 2 /D "taskkill.exe /F /IM isobuster.exe" /f
Page 1 of 1
runonce and taskkill trouble
#2
Posted 21 August 2004 - 10:57 AM
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
#4
Posted 21 August 2004 - 11:03 AM
Astalavista, on Aug 21 2004, 07:01 PM, said:
can u pls post and example of sleep.exe
Get sleep and run "sleep /?" to see possible commands.
#6
Posted 21 August 2004 - 02:11 PM
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)
Share this topic:
Page 1 of 1



Help

Back to top









