Hi,

I am using Wise Installation Studio 7.0 for packaging. I need to include a check in my msi that installation needs to be aborted if a specific application is running. For eg: I had a MyApp.exe is installed in my machine. There is a MyEx.msi. The installation of MyEx.msi needs to be aborted if MyApp.exe is running. Can anyone let me know how to obtain this?

Thanks
Sudhi
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
You'll need to create a Custom Action - to run either a script or EXE - to detect the process and then either set a property (which the LaunchCondition action would act upon) or abort the installation itself. There are lots of process-detection scripts available for download - some better than others - which you can use. Try to avoid those that shell out to DOS processes: that just complicates matters. Go for a WMI-based one.
Answered 05/11/2009 by: VBScab
Red Belt

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