Abort Installation if application is running


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?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: anonymous_9363 15 years ago
Red Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ