Read the F****** manual ;-)
When you do that, you remember til Add Installer, and everything works fine.
Service do not show in services.msc after install
I have programmed a windows service using
Visual Studio 2017, VB, .net Framework 4.8
Added a setup project using Visual Studio Installer
Manually added Primary Output to the four Custom Actions
Built the project.
Install runs successfully - it appears in the ControlPanel, Programs-list
But the service does not appear in services-list ??
Developer technologies | .NET | .NET Runtime
-
Ravnø Data 96 Reputation points
2021-03-15T10:56:00.213+00:00
1 additional answer
Sort by: Most helpful
-
Viorel 122.6K Reputation points
2021-03-11T12:56:33.957+00:00 Maybe you should also register it as a service and start it? For example, some of samples uses ‘myservice install’ or ‘myservice /install’, then ‘myservice start’ or ‘myservice /start’. Do you have some similar command-line parameters?
Other sample services uses a special installutil command: https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer#install-the-service. Check if this works, then use Services to start and stop the service.