Checking target machine for a running process or service and returning value, Installshield Best practice?
I am just starting to re-package several applications and also send updates to existing installations in my business environment.
I want to check for a running process or service and return the value of running or not status back to SCCM.
What is best practice to check for a running process and have the MSI fail and return code?
I am using installshield 2012 spring and adminstudio 11.5 sp2
thanks all
Answers (2)
For mandatory updates i use a wrapper script that has a countdown window that asks the user to close the conflicting applications within 60 minutes.
The user is allowed to postpone the update once, and it exits with the exit code 1602 (same as user canceled from MSI, non critical failure). The SCCM advertisement is set to rerun if failed previous attemt every other day. This works well in my environment.
I haven't tried recreating this in windows installer, but it is possible.