|
-
Jun 3rd, 2003, 09:50 AM
#1
Thread Starter
Hyperactive Member
Is Windows Service Installed?
How can I tell if a windows service is installed in VB.NET?
i.e. something like
if service exist then
blah
else
install it
end if
-
Jun 3rd, 2003, 11:26 AM
#2
Junior Member
You need to add an "Installer Class" to your service's project. Once added, you also need to add a ServiceProcessInstaller component, and a ServiceInstall component. This will allow you to use the InstallUtil.exe to install your service. You can uninstall with the same utility.
Hope this helps,
Joan
-
Jun 3rd, 2003, 01:04 PM
#3
Thread Starter
Hyperactive Member
thanks
thanks, i have already used that... i think i didnt explain what i was trying to do.sorry
when a user clicks on a button, for the code to detect wiether or not a following service is installed on the local machine... i.e....dns client, zero-wireless... thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|