Windows Services Can Install Themselves(codeproject.com)

submitted by simonebsimoneb(5450) 4 years, 5 months ago

Using the InstallUtil.exe utility that ships with the .NET SDK can be a real pain. It's rarely in the PATH so you probably have to hunt down the utility when you are working on QA and production servers as I do. Installing a Windows Service should be easier. In this short article, I'll show you a way to make your Windows Services install themselves without needing InstallUtil.exe at all.

6 comments |category: |Views: 64

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by crpietschmanncrpietschmann(11.3k) 4 years, 5 months ago 0

You know, I submitted this almost a week ago and it even was on the front page today. Then I got the following email.....

Your post
'Create Windows Services That Can Install Themselves'
'Never use the InstallUtil.exe utility that ships with the .NET SDK again. Using the InstallUtil.exe utility that ships with the .NET SDK can be a real pain. It's rarely in the PATH so you probably have to hunt down the utility when you are working on QA and production servers as I do. Installing a Windows Service should be easier. In this short article, I'll show you a way to make your Windows Services install themselves without needing InstallUtil.exe at all.'

was deleted by a moderator.

Please let us know if you think this was in error.


... Why would it have been deleted?

Reply

posted by damodamo(0) 4 years, 5 months ago 0

I saw the original post in my rss reader and disappointed to see it removed. I'd like to know why too.

Reply

posted by simonebsimoneb(5450) 4 years, 5 months ago 0

I've explained the reason in the spy page. I chose to do it since the link on CodeProject was broken (I guess it was because they moved the article to another url) and I didn't want to leave on the homepage a story with a broken link.

Sorry if this caused some confusion, I hope you understand.

Reply

posted by jacook11jacook11(350) 4 years, 5 months ago 0

Thanks for reposting this article, I tried to access the original article and the link was broken.

Reply

posted by crpietschmanncrpietschmann(11.3k) 4 years, 5 months ago 0

That makes sense, thanks. It's pretty annoying when that happens. I've actually seen CodeProject acticles moved like that quite a bit.

Reply

posted by simonebsimoneb(5450) 4 years, 5 months ago 0

Yes, I noticed that too, but I can't guess why they didn't put up a redirection mechanism.

Reply

information Login or create an account to comment on this story