471,315 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,315 software developers and data experts.

Windows Service Installation

Al
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.
Jan 18 '06 #1
1 1218
Why don't u try to include Setup Project and Custom Setup Class
[RunInstaller(true)]?

Jan 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Mark | last post: by
3 posts views Thread by Jeremy S. | last post: by
11 posts views Thread by tshad | last post: by
6 posts views Thread by Jason Richmeier | last post: by
27 posts views Thread by pisquem | last post: by
4 posts views Thread by ochocki | last post: by
3 posts views Thread by Mika M | last post: by
5 posts views Thread by dm3281 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.