Self Installing Windows Service

יום ראשון, ינואר 4, 2009

Recently I had to initiate some background worker in a Windows Service. Writing a Windows Service with the built in .Net support is a  no-brainer. The thing that caught me by surprise was that all the documentation states that I needed to add an installer for the service to run. After a little looking  around, it turned out that it is not so difficult to create your own custom installer. I ended up writing a small class that can handle any service and thought I’d share it here. The Windows Service part functions only as a bootstrapper for the real...
15 תגובות