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.
January 26, 2009 3:13 PM
January 26, 2009 3:22 PM