1

I wrote a Windows Service in c# (VS2008) and now trying to install it (My project's name is MyProject).
I am following the steps on the article http://msdn.microsoft.com/enus/library/zt39148a(v=VS.90).aspx

and when I get to the highlighted step: enter image description here

I cannot see "MyNewService". I can only see "MyProject.project"
What am I missing?

user990635
  • 3,979
  • 13
  • 45
  • 66

2 Answers2

1

If you will encounter problems installing Windows Service with this link (mentioned in the question)

I used http://support.microsoft.com/kb/816169 and it worked well!

Hope it will help you too!

user990635
  • 3,979
  • 13
  • 45
  • 66
0

Look like the The "MyNewService" in the above example is their sample project. Just choose your project name there and then build your project. You should be good to go

Note: for instructions on how to actually install the service on your target machine see here

http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/d8f300e3-6c09-424f-829e-c5fda34c1bc7

iamkrillin
  • 6,798
  • 1
  • 24
  • 51
  • Thanks a lot for the answer! their "MyNewService" is the serviceInstaller, and I just don't see the serviceInstaller in the list at all. I can only see .project... I tried to pick that one, just to see if it will work, but then on the next steps I had to add a new project of the type Setup and Deployment Projects and choose my installer, and couldn't see it there too – user990635 Nov 28 '11 at 05:01