Hope I'm in the right forum for this.
If not, feel free to move or recommend a forum.
I have one Windows Service, say GatherData. I want to have one installation for this service that creates multiple instances with different names and Instrumented namespaces for MMC, all on one machine.
For example:
- GatherData 9111
- GatherData 9112
- GatherData 9113
- etc.
The Instrumented namespaces can have the same names.
I'm thinking an app.config containing the following section:
<Installer BaseService="GatherData">
<!-- Multiple versions of the service, adjust as required -->
<!-- Adjust before running InstallUtil -->
<!-- InstallUtil will use this to install one or more service(s) -->
<!-- If you only want one GatherData service, remove the <Extensions> section-->
<Extensions>
<add Extension="9111" />
<add Extension="9112" />
<add Extension="9113" />
</Extensions>
</Installer>
Then, perhaps a ProjectInstaller that can read through the extensions, and install the instance of each service and set up the snap-in for MMC?
Trying to avoid many manual steps for the person that would actually install these, not me.
InstallUtil is not necessary, just thought I would need to go that route.