469,358 Members | 1,588 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,358 developers. It's quick & easy.

Install a Windows Service programmatically

I dont know if this is the correct newsgroup to post questions on Windows
Service.
I am trying to install and uninstall a Windows Service programmatically.

As far as I know, there isnt a class in .NET FCL which supports doing that.
The ServiceController class starts/stops an installed service but doesnt
install a service. Is there a way to install/uninstall a service
programmatically (not using the Installer) ?

Thanks.

Jul 21 '05 #1
2 2622
Check out this link to another Google post:

http://tinyurl.com/9aqle

Jul 21 '05 #2
Thank you very much.
I was planning on writing the Win32 Interop code... but your post makes it
redundant.

:)

"Chris Dunaway" <du******@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Check out this link to another Google post:

http://tinyurl.com/9aqle

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Peter Schmitz | last post: by
2 posts views Thread by raghavendra | last post: by
3 posts views Thread by David Sworder | last post: by
2 posts views Thread by Fan Wang | last post: by
2 posts views Thread by Vince Keller | last post: by
4 posts views Thread by juliashah | last post: by
2 posts views Thread by =?Utf-8?B?Um9nZWxpbw==?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.