ClickOnce deploy a Windows Service?
Is it possible to deploy a Windows Service using ClickOnce? If so, how do you achieve this? Currently we have to use a Deployment project, and the installation process could be simplified greatly by using ClickOnce. Marc Gravell AFAIK you can't really use ClickOnce end-to-end to deploy a service; there are issues with both the file locations (ClickOnce installs into a user's profile) and installation (ClickOnce is largely side-effect free). You can, however, write a service as an exe that can self-install/uninstall from the services list, like so ; basically, you write it as as a console exe