Building a Windows Service that periodically runs.

Here is some code I threw together to create a windows service that gets called periodically. To use it you’ll have to add this code into the Service class and create an application setting called PollingTime to contain the amount of time between calls of the process. Also note that if the process is still executing then it will block … Read More

Mike GriffithBuilding a Windows Service that periodically runs.

Installation failed due to the absence of a ServiceProcessInstaller.

Recently I encountered the following error message while creating a new windows service in .net : System.InvalidOperationException: Installation failed due to the absence of a ServiceProcessInstaller. The ServiceProcessInstaller must either be the containing installer, or it must be present in the Installers collection on the same installer as the ServiceInstaller. After doing some searching I found that this was due … Read More

Mike GriffithInstallation failed due to the absence of a ServiceProcessInstaller.