service-installer

Adding a service installer and service process installer in visual studio

梦想的初衷 提交于 2019-12-03 09:04:10
问题 For some reason, after adding a Installer class to my Windows Service project, I open it up in design mode and right click, but there is no option to add either a service installer or a service process installer. Does anyone know why this may be the case? 回答1: In both Visual Studio 2008 and 2010, the best way to do this is to open the ServiceBase component (named Service1 by default) in design mode. Then, right-click in the designer and select the Add Installer option. This adds a

Visual Studio missing “Add Installer” link in service project

允我心安 提交于 2019-12-01 17:27:19
问题 I'm building a Windows service and following this MSDN article, but I'm stuck on step 3 under "Create an installer". I can't find the "Add Installer" link it's referring to. I've clicked everywhere, including following the instructions it gives exactly, but I can't seem to find it. A few people on Google have had the same problem, but never found a solution (other than adding the ServiceInstaller object and configuring it manually). Has anybody else had this problem and found a reason? I'm