Greg,
You can instruct the installer to check whether the application is still
running or not. Do this is a LOOP to make sure it is really closed down.
If you get a "reboot" message at the end of the installation then the
application was still active (it replaced locked/in-use files).
See the attached screenshot. This is what we are using to check if SB10.EXE
is not active before doing an update. You can fine tune this method. For
example, if your application supports the WM_CLOSE event to shut down, you
can use the "Terminate Active Application..." script function to handle
this. Be careful when ending a process and the "Gently Close Application"
option is not enabled. In this case, if you end an application, you will
lose unsaved data. If you end (kill) a system service, some part of the
system may not function properly.
Friedrich