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: Detect running service during installation
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
‎Feb 26, 2010
04:27 AM
Detect running service during installation
We are using InstallShield 2010 to create our application (B) installation package. The installation installs a service (logger) and it is configured to stop and delete the logger service if already installed on the target pc. This can happen during upgrade of our application (B).
Now, we have another application (A) also running the same service (logger) and we do not want that service to be stopped and deleted druing installation of application (B).
Is there some way InstallShield can detect if the (logger) service already is running during installation and show a warning?
Now, we have another application (A) also running the same service (logger) and we do not want that service to be stopped and deleted druing installation of application (B).
Is there some way InstallShield can detect if the (logger) service already is running during installation and show a warning?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 26, 2010
04:40 AM
When installing App A use SystemSearch to check for the registry key pointing to the service.
If that exits just proceed with the installation.
If that exits just proceed with the installation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 26, 2010
10:01 AM
Thank's for your reply.
I will use SystemSearch to check for registry keys, I will then put it as a condition to install - but I would like to only show an information screen and after continue with the installation - instead of stopping the installation as it might do with a condition..
I will use SystemSearch to check for registry keys, I will then put it as a condition to install - but I would like to only show an information screen and after continue with the installation - instead of stopping the installation as it might do with a condition..
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)