InstallUtil for Registering Windows Service

5 pts.
Tags:
InstallUtil Windows Services
Microsoft Windows services
Windows Services
I have a peculiar requirement to install the same application as a Windows Service but with 4 separate instantiations of it (as a Windows Service on the same machine) as different service names. The reasons are too complicated to go into. Anyway, the basic installation is c:Program FilesApp NameFile.exe. The initial install will point to this codefile, but the servicename will be "RemoteAgent". What I want to do is add 3 other installs where the service name will be "HOST1 RemoteAgent", "HOST2 RemoteAgent" & "HOST3 RemoteAgent". I will be creating folders c:Program FilesHOST1 App NameHOST1 File.exe, etc. which will be pointed to by the individual services. Is it possible to run InstallUtil to create these additional services ? I am getting some kind of error as follows: Exception occurred while initializing the installation: System.ArgumentException: Illegal characters in path.. Any help will be appreciated. Chai
ASKED: January 26, 2009  3:13 PM
UPDATED: January 26, 2009  3:22 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following