Jump to content

runonce and taskkill trouble


Recommended Posts

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

Link to comment
Share on other sites


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

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