A persistent Windows Service Proof of Concept, where the Service will run after Restart or Shutdown, and invoke a given software executable.
- The service is installed.
- The service starts the Sample App (unless it's already running). That's the 'Watch dog' mechanism.
- If you shut down SampleApp.exe, the service will restart it, whilst keeping it running.
- If you reboot, the service will start, wait for the first user to log in and then start SampleApp.exe under the logged-on user's session.
- The service is uninstalled using the uninstall