I made a Windows service and add the installer.in program, which contains only this code. System.Diagnostics.Process.Start (@ "C: \ Windows \ system32 \ notepad.exe"); inside a timer event and an interval of 60 seconds. I just wanted to try starting the Windows service.
1st-serviceProcessInstaller1, I changed the setting of my account as local. 2nd-serviceInstaller1, in this case I changed its startup type to automatic.
then I create a setting, add another project, then right-click, and then add the output file, then click OK. then right-click on project-> view-> custom Action-> right-click Install-> Add custom Action-> select the application folder and add the main output. The same is done for all other parameters, such as commit, rollback, delete.
after that I build the installation that he builds successfully, then I install the installation that he installed correctly in the program file. n create one .exe file n one Instalfile. but the problem is that when I search for a service in "services.msc" the service is not there. means the service does not show there.i tried, but did not get ans.plz help me solve this problem.
source
share