D
DraguVaso
Hi,
I developped a Windows Service in VB.NET (2005).
I need to have it installed two times on 1 machine. When I want to install
it a second time, the setup doesn't allow me to install it again in an other
directory, but only to repair or remove the other version.
I get arround this by simply copying the files of the first installed in a
second directory.
But when I want to install the second service (so it would come in the
Services-list in the config panel) I can't do this, even if I rename it...
I should have somewhere the ability to change the name of a service at the
inside: somehow with a configfile that is read. I tried this using the
ServiceInstaller_BeforeInstall-event (in the ProjectInstaller), but it
doesn't seem to work...
Anybody any idea?
Thanks a lot in advance,
Pieter
I developped a Windows Service in VB.NET (2005).
I need to have it installed two times on 1 machine. When I want to install
it a second time, the setup doesn't allow me to install it again in an other
directory, but only to repair or remove the other version.
I get arround this by simply copying the files of the first installed in a
second directory.
But when I want to install the second service (so it would come in the
Services-list in the config panel) I can't do this, even if I rename it...
I should have somewhere the ability to change the name of a service at the
inside: somehow with a configfile that is read. I tried this using the
ServiceInstaller_BeforeInstall-event (in the ProjectInstaller), but it
doesn't seem to work...
Anybody any idea?
Thanks a lot in advance,
Pieter