- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Check if application is already running while modify installer
- 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
Check if application is already running while modify installer
I need to work on modify installer.
The steps I have to follow is - If my application is running in the background while I modify the installer I should get a popup message to first close the application and then try again.
If application not running then simply proceed with the modify / remove installer.
Can anyone suggest me how to proceed with it.
What I did was created a custom action and called it on button click of Modify, there I need to check for the application status (whether it is running in the background or not).
I need suggestion in finding a solution for the application status running in the background.
I tried with tasklists window command but that doesn't seems to be working as I m getting build issues in installer ('tasklists' : undefined identifier).
Any suggestion / solution would be great help. Thanks in advance.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
You would need to create a custom action to identify if your applications process is running or not and then create a Property depending on what the result was.
You can then use that Property in a Launch Condition to tell the customer and cancel the install.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Yes, I figured out that. I need to know how to identify if my application is running in the background.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)