How to create installer for my windows service in Visual Studio?

  • Thread starter Thread starter nopatch4humancruelty
  • Start date Start date
N

nopatch4humancruelty

Guest
Hi,

I'v implemented a Windows Service using C# and Visual Studio. Now, I don't want to use anymore the sc.exe or installutil.exe, but I want to create an installer who can install my service

  • under some credentials
  • under the automatic start mode
  • ...

Furthermore, at the service installation, I have to add a Group Policy on machine shutdown. which is a .reg file. For now, I run the following command from cmd prompt:

regedit /s "C:\...\...\...\gp.reg"

So, after the installation, the preview command must be launched by the installer

How I can do that using Visual Studio?

Thank you.

Continue reading...
 
Back
Top