How to install WorkerService in C# and .Net 5

Viewed 675

Previously (before .net 5) we could add a custom Installer which inherit System.Configuration.Install.Installer to our project, and then the Setup packet used it to install Service to windows.

Now, there is no System.Configuration.Install DLL until now. enter image description here https://docs.microsoft.com/en-us/dotnet/api/system.configuration.install?view=netframework-4.8&viewFallbackFrom=net-5.0

I knew there are some NuGet packages, but I'm looking for an official solution.

How can I change the WorkerService (Service) ServiceName, DisplayName and Description?

How can I create a setup packet for my WorkerService (Service)?

0 Answers
Related