Installing a Service

  • Thread starter Thread starter Terry Olsen
  • Start date Start date
T

Terry Olsen

When testing my service, I left it as default "Service1". After I got it
working how I wanted, I renamed it "MyService" and set the ServiceName &
Description properties in the ServiceInstaller appropriately. I uninstalled
and reinstalled the service using the InstallUtil. But even though it is
now "MyService", the event logs still shows "Service1" when starting &
stopping the service. How can I get this to be correct?
 
Terry,

You forget to mention the DisplayName property, also within the Service
Installer.

Rgds, Phil
 
Back
Top