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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!