Monday, August 8, 2011

c# Windows Service not appearing in services list after install

Many times user create a windows service and add installer to it, but when user try to install, it will installed successfully but dosn't appear in service list.

use the below mentioned steps to find a best solution:

Add a custom action to the setup project.

1.In Solution Explorer, right-click the setup project, point to View, then choose Custom Actions. The Custom Actions editor appears.

2.In the Custom Actions editor, right-click the Custom Actions node and choose Add Custom Action. The Select Item in Project dialog box appears.

3.Double-click the application folder in the list box to open it, select primary output from MyNewService (Active), and click OK. The primary output is added to all four nodes of the custom actions � Install, Commit, Rollback, and Uninstall.

4.Build the setup project.


Dot net training in chennai said...

Your information about c# is really interesting and innovative. Also I want you to share latest updates about c#. Can you update it in your website? Thanks for sharing

gowthunan said...

Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
iosh course in chennai

Safety Professionals said...

I accept there are numerous more pleasurable open doors ahead for people that took a gander at your site.
nebosh course in chennai

Deepika Analy said...

Thanks for making me this article. You have done a great job by sharing this content in here. Keep writing article like this.

Cloud Training
Cloud Training in Chennai
Cloud Training in OMR
Cloud Training in Velachery
Cloud Training in Thiruvanmiyur

Bee Yes said...

Amazing Article ! I have bookmarked this article page as i received good information from this. All the best for the upcoming articles. I will be waiting for your new articles. Thank You ! Kindly Visit Us @ Coimbatore Travels | Ooty Travels | Coimbatore Airport Taxi | Coimbatore taxi