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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top