PC Review


Reply
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average.

Add/Remove Programs: The specified service does not exist as an installed service

 
 
charismatic_evangelist@yahoo.com
Guest
Posts: n/a
 
      24th Sep 2004
I am trying to write a Windows Service in C# .NET Version 1.1.

I followed Microsoft's directions:

(http://msdn.microsoft.com/library/de...pplication.asp)

to the letter and everything worked fine.

Then I went into Windows Explorer and changed the name of my files to
what I really want....

When I try to Remove Program MyServiceSetup from Start -> Settings ->
Control Panel -> Add/Remove Programs, I get the error message ...

"An exception occurred while uninstalling. This exception will be
ignored and the uninstall will continue. However, the application
might nut be fully uninstalled after the uninstall is complete. -->
The specified service does not exist as an installed service"

.... and the program stays.

The good news is that my C# .NET framework can still compile and
install the Service that I want, with the same error message, and the
Service is indeed updated, but I would rather not have error messages
appear during my development.

I have also tried from the command line: `installutil /u ...` and I
get similar error messages.

Any ideas on how to install a renamed service without any error
messages?
 
Reply With Quote
 
 
 
 
hOSAM
Guest
Posts: n/a
 
      25th Sep 2004
Windows installer keeps track of installed files by recording their names
and locations, and whenever necessary the commit and rollback commands (in
this case the installutil). Whe you try to uninstall a program, the
installer searches for te files, if they are not found, or their locations
change, then -logically-, the uninstall operation fails.

If you changed the names of files, and you want to uninstall, then simply
revert the file names back to their original names. And if necessary, if you
have uninstalled any service that the installer registers, then try to
register it back using installutil. Afterwards, run the uninstaller,
otherwise you will not be able to remove the application automatically.



<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I am trying to write a Windows Service in C# .NET Version 1.1.
>
> I followed Microsoft's directions:
>
>

(http://msdn.microsoft.com/library/de...-us/vbcon/html
/vbwlkwalkthroughcreatingwindowsserviceapplication.asp)
>
> to the letter and everything worked fine.
>
> Then I went into Windows Explorer and changed the name of my files to
> what I really want....
>
> When I try to Remove Program MyServiceSetup from Start -> Settings ->
> Control Panel -> Add/Remove Programs, I get the error message ...
>
> "An exception occurred while uninstalling. This exception will be
> ignored and the uninstall will continue. However, the application
> might nut be fully uninstalled after the uninstall is complete. -->
> The specified service does not exist as an installed service"
>
> ... and the program stays.
>
> The good news is that my C# .NET framework can still compile and
> install the Service that I want, with the same error message, and the
> Service is indeed updated, but I would rather not have error messages
> appear during my development.
>
> I have also tried from the command line: `installutil /u ...` and I
> get similar error messages.
>
> Any ideas on how to install a renamed service without any error
> messages?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solution to: "The specified service does not exist as an installed service." DBF Windows XP Hardware 1 29th Apr 2008 04:31 PM
"The specified service does not exist as an installed service." Andrea Windows Vista Networking 6 23rd Jan 2008 02:05 AM
The specified service does not exist as an installed service =?Utf-8?B?S2Fsa3Vz?= Windows Vista Networking 0 7th Oct 2007 09:21 AM
Add/Remove Programs: The specified service does not exist as an installed service charismatic_evangelist@yahoo.com Microsoft Dot NET 1 24th Sep 2004 03:49 PM
Q: "Specified File Does Not Exist Error" Does Not Make sense..... Nicholas Windows XP Accessibility 1 12th Nov 2003 09:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:25 PM.