title: Installing a windows service from a Visual Studio Installer project
body: <p>A colleague has written a Windows Application and left me to do the installers.  I have created the installer project through Visual Studio and added the primary output of the service project to the new project.</p>
  
  <p>When I run the installer it creates the correct folders and copies the dlls, exe and config file in, but it doesn't do the actual install of the service.</p>
  
  <p>The service isn't listed in the Services window, and if I double click on the exe I'm told I need to run installutil to install the service.</p>
  
  <p>How do I make the installer do this bit for me?  I found this article:</p>
  
  <p><a href="http://www.codeproject.com/KB/install/InstallService.aspx" rel="noreferrer">http://www.codeproject.com/KB/install/InstallService.aspx</a> </p>
  
  <p>but that seems overly complex for what I would expect to be pretty basic.</p>