title: How to install WorkerService in C# and .Net 5
body: <p>Previously (before .net 5) we could add a custom <code>Installer</code> which inherit <code>System.Configuration.Install.Installer</code> to our project, and then the Setup packet used it to install Service to windows.</p>
  <p>Now, there is no <code>System.Configuration.Install</code> DLL until now.
  <a href="https://i.stack.imgur.com/ADRIs.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ADRIs.jpg" alt="enter image description here" /></a>
  <a href="https://docs.microsoft.com/en-us/dotnet/api/system.configuration.install?view=netframework-4.8&amp;viewFallbackFrom=net-5.0" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/dotnet/api/system.configuration.install?view=netframework-4.8&amp;viewFallbackFrom=net-5.0</a></p>
  <p>I knew there are some NuGet packages, but I'm looking for an official solution.</p>
  <p>How can I change the <code>WorkerService</code> (<strong>Service</strong>) <code>ServiceName</code>, <code>DisplayName</code> and <code>Description</code>?</p>
  <p>How can I create a setup packet for my <code>WorkerService</code> (<strong>Service</strong>)?</p>