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
- :
- One service in different installations
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
‎Sep 15, 2008
07:15 AM
One service in different installations
I have two different services, let's name them serv1 and serv2. Also I have third service which can monitor serv1 and serv2 sending them "ping" request. If serv1 or serv2 didn't reply for ping request for a long time monitor service will restart hanged service. Which services should be monitored I adjust in registry. So, monitor service can monitors one or both services.
I have two different installations for serv1 and serv2. Each installation contains component which contains monitor service. If I install this component, monitor service will install, it's registry options updated to monitor service from this installation. If I uninstall this component, registry options for monitor service will clear and monitor service will remove.
It works fine if I install serv1 and serv2 on different machines.
But if I want to install serv1 and serv2 on the same machine my scheme doesn't work. First installation installs monitor service. Second installation try to install already installed service which cause reboot. If I uninstall one of installations it removes monitor service completely, but I need it for second installation.
How can I create two different installations with common component in my case?
I have two different installations for serv1 and serv2. Each installation contains component which contains monitor service. If I install this component, monitor service will install, it's registry options updated to monitor service from this installation. If I uninstall this component, registry options for monitor service will clear and monitor service will remove.
It works fine if I install serv1 and serv2 on different machines.
But if I want to install serv1 and serv2 on the same machine my scheme doesn't work. First installation installs monitor service. Second installation try to install already installed service which cause reboot. If I uninstall one of installations it removes monitor service completely, but I need it for second installation.
How can I create two different installations with common component in my case?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
05:05 PM
Can anyone help me? Or just point me some keywords describing where I have to search an aswer?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 17, 2008
05:52 PM
What kind of project? If MSI, you'll want to ensure the shared service component is identical---component code GUID, settings, files, registry data, everything---between the two projects, so MSI can keep track of the number of clients. You can export components from one project to another, create a merge module, create a prerequisite, or other options...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 18, 2008
03:38 AM
Oh, of course, sorry, I forget about type of project.
I use InstallScript MSI.
Thank you for the suggestion. Does this suggestion work for InstallScript MSI project?
I use InstallScript MSI.
Thank you for the suggestion. Does this suggestion work for InstallScript MSI project?
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)