The function can be used to stop an application in a user friendly manner before an installation is started. If the process is found in memory the end user is asked to stop the application. When the application is stopped the function complete. If the application is not stopped within the timeout period the function CMS_JobRetryLater is invoked. The rest of the installation will then be postponed.
Sys_TerminateApplication(sName, sProcess, iTimeOut) As Boolean
Application name. Free text that will be merged into the message boxed displayed
Process name to search for
Timeout in minutes