D
Damian R.
I am writing a console application which is to act as a
tool within a larger application. The console application
would basically install a windows service that I call an
Agent.
As part of the install of the Agent I need to install the
Windows service into the system. I have 2 questions:
1) Is there a class that I can use to do the neccessary
registration, i.e. I can just call some sort of service
install method on a class?
2) If there is no such class, is there a way I can find
out from within code the path to the installutil.exe
program is?
tool within a larger application. The console application
would basically install a windows service that I call an
Agent.
As part of the install of the Agent I need to install the
Windows service into the system. I have 2 questions:
1) Is there a class that I can use to do the neccessary
registration, i.e. I can just call some sort of service
install method on a class?
2) If there is no such class, is there a way I can find
out from within code the path to the installutil.exe
program is?