This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Check an application is running before installation begins..
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 13, 2013
01:55 AM
Check an application is running before installation begins..
Hi there,
I need to do a deployment package for my project and that should initially check if a particular application is running to continue the installation. If that application is found to be not running then installation should display a message saying "that ** particular application is not running.." and stop.
Please help as I don't have much knowledge on install scripts..
Thanks,
Regards,
Bobby
I need to do a deployment package for my project and that should initially check if a particular application is running to continue the installation. If that application is found to be not running then installation should display a message saying "that ** particular application is not running.." and stop.
Please help as I don't have much knowledge on install scripts..
Thanks,
Regards,
Bobby
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 05, 2015
11:40 AM
I have the same issue with IS 2011.
What is odd is that I tried uninstalling while running an application that my install originally installed and InstallShield caught it. Asked me to shut down the application before continuing. Although in the end it didn't work, I found it interesting that there was automatically some protection when uninstalling. When I had an application running and tried to install again, I got the Modify, Repair, Remove dialog but never got notified that an application was running like I did for uninstall.
What is odd is that I tried uninstalling while running an application that my install originally installed and InstallShield caught it. Asked me to shut down the application before continuing. Although in the end it didn't work, I found it interesting that there was automatically some protection when uninstalling. When I had an application running and tried to install again, I got the Modify, Repair, Remove dialog but never got notified that an application was running like I did for uninstall.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 06, 2015
06:50 AM
InstallShield does not have an integrated method to check if a process is running. However, you can get something to work using code from InstallSite used for killing processes. I know, you are not looking to stop a process, but it also includes the code to list running processes.
https://community.flexerasoftware.com/showthread.php?183763-Kill-the-background-process
https://community.flexerasoftware.com/showthread.php?183763-Kill-the-background-process