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.

3 comments:

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

DeepikaOrange 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

Split the String values with a special character in MS Flow to convert this into Array

 Many times we have a requirement to prepare the Mailing address for some of the documents, suppose there are Address Line1, Address Line2, ...