I'm not sure I understand -
I can get the application to RUN once it is installed, my problem is the
actual creation of a Windows service.
Install util does not allow you to specify a "service name" to be used for
Windows, so it always uses what is hardcoded into the .exe. Except you
can't have two services with the same name, so the second installutil will
always fail.
--
Adam Clauss
"Anthony Jones" <An*@yadayadaya da.comwrote in message
news:uA******** ******@TK2MSFTN GP04.phx.gbl...
"Adam Clauss" <ca*****@tamu.e duwrote in message
news:13******** *****@corp.supe rnews.com...
>We have a service written in C#. The generated code "hardcodes" the
service
>name into the exe.
We have a situation where we would like to allow multiple Windows
Services
to be defined. These would differ by the command-line parameters passed
to
>the .exe to give it a different configuration.
Is there a way to do this?
Surely this is a job for the application config file, especially since its
a
service?
--
Anthony Jones - MVP ASP/ASP.NET