Abort Installation if application is running
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
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
Answers (1)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
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.

so that the conversation will remain readable.