2

I've created windows services in the past no problem but I am now using a new setup at a new company and this is the first service I've created since then and I cannot add the installer option for it. When I view the service in the designer and right click the design surface there is no "Add Installer" or "Create Installer" option

I've been googling to no avail, I have found answers like these:

VS 2008 Windows Service Installer Doesn't work

Visual Studio missing "Add Installer" link in service project

Adding a service installer and service process installer in visual studio

Easiest language for creating a Windows service

But I cannot find it whatsoever.

Should look like :

enter image description here

But I get :

enter image description here

I see that Express does not have this option but I'm using VS2010 Professional and I have all other expected features.

Any help will be greatly appreciated, especially if it comes before I put my foot through my monitor.

Thanks

Paul

Community
  • 1
  • 1
Paulie Waulie
  • 1,690
  • 13
  • 23
  • @Patrick Sorry but I don't understand your comment, no it isn't there, I have no option in VS to create it. Thanks – Paulie Waulie Apr 27 '12 at 16:19
  • @Patrick My question pertains to not having that option, yes I can add an Installer class manually. Thanks – Paulie Waulie Apr 27 '12 at 16:26
  • Can you build your project? Does your class that you are viewing in designer mode in fact inherit `ServiceBase`? – Patrick Apr 27 '12 at 16:36
  • Can you create a new solution, add a service project and get the Add Installer in that project..? – Patrick Apr 27 '12 at 16:59
  • @Patrick Thank you for your replies, Unfortunately I have already tried that, I'm thinking a fresh install is on the cards :( – Paulie Waulie Apr 27 '12 at 17:11

1 Answers1

1

After spending too much time searching the interweb I decided to bite the bullet and simply perform a repair of VS 2010, this did take almost an hour but did solve the issue.

Paulie Waulie
  • 1,690
  • 13
  • 23