Click here to Skip to main content
15,895,667 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am testing program at this article said and when it comes to install the service they service did not show up in service manager.
the article http://msdn.microsoft.com/en-us/library/ms733069.aspx

when I use installutil.exe for install service.exe , it said there is no RunInstallerAttribute.Yes and service did not show up
but in program I did added this code as below (according to the article)
C#
[RunInstaller(true)]
public class ProjectInstaller : Installer


I am using Windows7 and visual studio 2010.
could anyone tell me the reason? I don't think I missed something in article said, but why dose this happen?
Posted
Comments
Herman<T>.Instance 18-Sep-11 8:20am    
see here

1 solution

Author of this utility, wrote a blog post showing how to create batch files to install & start the service; or stop & uninstall. You can refer at http://richardwilburn.wordpress.com/2010/12/01/wcf-windows-service-deployment/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900