c # – How to create an installer for a Windows service in Visual Studiio 2019


I have a basic service, I usually install it in the basic way ie using the cmd with intallutil but now I would like to make an executable which will just install the service , I use .net 4.8 and visual studio with the C # remote control.
I would like to know how I could do to generate the executable the service works