-
October 11th, 2003, 10:33 AM
#1
Removing Windows Services and event log
1. How'd you delete an installed Windows Service?
I installed a Windows Service I wrote myself, then I tried to install a newer version on top, it threw an exception: "The specified service already exist" (You can't just delete it from MMC, there's no such command/menu item for you to do that)
2. How'd you delete event log on "Windows XP" - not clearing log. But to actually delete a log file. I stopped Event Log service from MMC. Then I deleted the log file under the directory:
"C:\WINDOWS\system32\config\MyCustomLog.evt"
I restarted the machine and the event log was restored.
Thanks in advance.
heHAA
-
October 11th, 2003, 12:52 PM
#2
1.) Go to the Visual Studio .NET Command Prompt and write
installutil.exe /u yourservicename.exe
2.) I don't know.
martin
-
October 14th, 2003, 04:29 PM
#3
1. How'd you delete an installed Windows Service?
Mine uninstall like any other Windows application... but I have an installer for my services.
Have you created an Installer for your service?
If not you may want to look into doing that... it makes working with your service much easier.
You can get some detailed instructions for adding the Installer in:
Walkthrough: Creating a Windows Service Application in the Component Designer
page 3 has this part.
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
|