How can I add window Service in C#/ install it and Run exe(My Job.exe) through this Window Service? -
actually want run exe file(my job.exe) through window service in c# window service should started automatically when start computer?
i have added window service (myservice) manually. have setup project of application added service can installed when install application. have serviceinstaller1 property
starttype=automatic;servicename=myservice.
i have serviceprocessinstaller1 property
account=localsystem;
when run applicationo gets installed myservice don't installed , not see in service of computer management.
could body please me spend 2 days on not finding proper guidline. in advance.
how application being installed? did create installer (.msi file) it? sounds you're trying implement own installer instead of using existing tool this.
i recommend advanced installer. powerful installer generator , has features need in free version, , more importantly, it's easy use. tool lets create install wizard ability patch , uninstall software (including services, registry values, files, etc).
Comments
Post a Comment