PC Review


Reply
Thread Tools Rate Thread

Cannot uninstall windows service - uninstaller asking for setup files

 
 
DC
Guest
Posts: n/a
 
      19th Jul 2006
Hi,

I have developed a windows service in C# and I am using a Visual Studio
2003 installer to install it.

When I am updating the service, I usually stop the service in control
panel, close control panel (if I don't close, the service will often
not properly uninstall), use software uninstallation to remove the
service and install the new version via setup.exe.

I have done this a hundred times without problems, and suddenly I am
getting prompted for the *.inf file of the installation disk when I am
uninstalling the serivce. I can then provide a path to the service
installation package but I will be prompted again. I cannont uninstall
the service anymore.

Any ideas how I can get around this? TIA for any help.

Regards
DC

 
Reply With Quote
 
 
 
 
teixeira1985@gmail.com
Guest
Posts: n/a
 
      19th Jul 2006
Hi,

One possible way to effectively remove the service is using the dos
command "SC"
more info at http://www.ss64.com/nt/sc.html

Regards,
Tiago Teixeira

 
Reply With Quote
 
Andy
Guest
Posts: n/a
 
      19th Jul 2006
You could try installutil /u myservice.exe. That should remove the
service from the Services list; you can then delete the folder.

HTH
Andy


DC wrote:
> Hi,
>
> I have developed a windows service in C# and I am using a Visual Studio
> 2003 installer to install it.
>
> When I am updating the service, I usually stop the service in control
> panel, close control panel (if I don't close, the service will often
> not properly uninstall), use software uninstallation to remove the
> service and install the new version via setup.exe.
>
> I have done this a hundred times without problems, and suddenly I am
> getting prompted for the *.inf file of the installation disk when I am
> uninstalling the serivce. I can then provide a path to the service
> installation package but I will be prompted again. I cannont uninstall
> the service anymore.
>
> Any ideas how I can get around this? TIA for any help.
>
> Regards
> DC


 
Reply With Quote
 
skidave74@gmail.com
Guest
Posts: n/a
 
      25th Jul 2006
This worked great for me.

thx,
Dave

(E-Mail Removed) wrote:
> Hi,
>
> One possible way to effectively remove the service is using the dos
> command "SC"
> more info at http://www.ss64.com/nt/sc.html
>
> Regards,
> Tiago Teixeira


 
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
Windows Uninstaller Service J Lunis Windows XP General 1 12th Oct 2006 11:46 AM
Windows Service fails to Uninstall through custom setup deployment project. mpriem Microsoft Dot NET Framework 0 1st Sep 2006 10:13 AM
service and setup project wont uninstall mwolf Microsoft C# .NET 1 30th Dec 2005 01:41 PM
Uninstall Windows XP setup files? =?Utf-8?B?TWlrZQ==?= Windows XP Setup 0 30th Dec 2003 05:21 AM
how to uninstall Setup Runtime Files Saravanan Rathinavelu Microsoft Dot NET 1 1st Aug 2003 05:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:53 PM.