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

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0

There is no BP for this scenario. Use whatever tools you would normally for detecting a running process. If you need to return a code to SCCM, that will probably be a scripted call to a WMI method, be that VBS, PS or whatever your preferred language is.

Answered 10/29/2013 by: VBScab
Red Belt

Please log in to comment
0

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.

Answered 10/29/2013 by: Ifan
Second Degree Green Belt

Please log in to comment
Answer this question or Comment on this question for clarity