I am having trouble in finalizing my window service.As my logic works fine in console application.But the problem is:
How to add installer and installutil.exe in the project?
I am having trouble in finalizing my window service.As my logic works fine in console application.But the problem is:
How to add installer and installutil.exe in the project?
Go to Visual Studio Command prompt, and type installutil.exe <path to exe>
Alternatively, installutil.exe is located under C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
Note: Depending on your framework version, path to installutil.exe will change
Refer to this SO thread which has already an answer Install a Windows service using a Windows command prompt?
Are you having trouble while adding installer in your project? Any detailed information will help us in guiding you in the right direction