MSFN Forum: Problems with taskkill - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problems with taskkill It runs to fast Rate Topic: -----

#1 User is offline   svortevik 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 31-May 05

Posted 15 June 2005 - 04:16 AM

When I install tunexp from my wpi, and then run taskkill from my wpi script it runs to fast. Tunexp runs after taskkill is done. Is there som way to slow down taskkill from my wpi script?


#2 User is offline   Achdine 

  • Junior
  • Pip
  • Group: Members
  • Posts: 97
  • Joined: 11-May 05

Posted 15 June 2005 - 01:01 PM

I'm not familiar with TuneXP or what you are trying to kill, but there are a plethora of ways to do this. You could:
~repackage/hack/recreate the installer so as to remove offensive window entirely (can be a lot of work, doesn't always work)
~make an AutoIt script that waits for the window with a certain title to open, then closes it.
~use start /wait to call the installer. This will only work if the window you want to kill was spawned by the installer, and is not the same process.
~Find/download/use a commandline tool called Wait.exe and wait a set amount of time, then use taskkill (only useful for very simple and fast installers that you can easily estimate the time you need to wait)
~use NirCMD to wait a specified time, then use it to kill the window (you can kill by process name, window title, part of a window title, handle, or even just the "top window"). This has the same restrictions as using Wait.exe, but has the advantage that it doesn't need to open a cmd.exe window of it's own (use nircmdc.exe).
...

AutoIt is the all-in-one solution, but seems "overkill" :P to me for killing the simple things. What you should use really depends on the situation, and whether or not you're willing to look into other options.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy