G
Guest
Hi - I have a interesting issue that I am trying to resolve with a Windows
Service I created. I am trying to allow the end-user to install multiple
copies of the service on the same server (think SQL Server here, multiple
instances on the same system). I am able to set the services name during
installation to a unique name so that it appears as "Windows Service
[instance_name] in the SCM. What I am trying to do now is update the
TARGETDIR so that it includes the instance name as well. Example: "C:\Program
Files\My Company\My Service" would be changed to "C:\Program Files\My
Company\My Service.Instance_Name". Any ideas or references on how to do this
properly? I would greatly appreciate it. Thanks.
Service I created. I am trying to allow the end-user to install multiple
copies of the service on the same server (think SQL Server here, multiple
instances on the same system). I am able to set the services name during
installation to a unique name so that it appears as "Windows Service
[instance_name] in the SCM. What I am trying to do now is update the
TARGETDIR so that it includes the instance name as well. Example: "C:\Program
Files\My Company\My Service" would be changed to "C:\Program Files\My
Company\My Service.Instance_Name". Any ideas or references on how to do this
properly? I would greatly appreciate it. Thanks.