You can create a Wisescript custom action to check for and then kill a running process...here's a snippet I found elsewhere.
This is WiseScript sample:
Check In-use File %SYS32%\Test.exe
Set Variable FOR to 0
While TESTUSE Equals (Ignore Case) "in-use" loop
Set Variable FOR to %FOR%
If File or Directory exists %SYS32%\taskkill.exe then
Execute %SYS32%\taskkill.exe /f /im TEST* (Wait)
Else
Execute %INST%\kill.exe TEST* -f /s (Wait)
End
If FOR Less Than "5" then
Pause 1000 Milliseconds
Check In-use File %SYS32%\Test.exe
Else
Set Variable TESTUSE to not in-use
End
End
Main Topics
Browse All Topics





by: vadimrapp1Posted on 2009-08-07 at 21:07:30ID: 25048294
Installer usually takes care of that by itself, no effort is required. Google windows installer restart manager .