PC Review


Reply
Thread Tools Rate Thread

Difficulty Removing/Installing a Windows Service

 
 
EagleRed@HighFlyingBirds.com
Guest
Posts: n/a
 
      29th Sep 2009
I am developing a Windows service using VS2008. I cannot install new
versions of the service via the setup project in the solution. I get an
error message that the service is already installed. When I run the
uninstall option in the context menu of the setup project I get an error
stating it cannot find the associated assembly.

In searching the forum I found an entry suggesting I delete the registry
entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. I also ran
the sc utility to remove it. It does not now show in the services list but I
still cannot install the service. Somewhere there is an indication it is
still present.

Any ideas on how to completely remove the service or to force an
installation of the new service version?

As always any input is greatly appreciated.

Thanks,
Eagle
 
Reply With Quote
 
 
 
 
Wilson, Phil
Guest
Posts: n/a
 
      30th Sep 2009
All other things being equal. reverting to the way that VS 2005 setups used
to work is most likely the easiest solution:

http://social.msdn.microsoft.com/For...-356828baf80a/

--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"(E-Mail Removed)"
<(E-Mail Removed)> wrote in message
news:97209F70-AF33-4E6D-A483-(E-Mail Removed)...
>I am developing a Windows service using VS2008. I cannot install new
> versions of the service via the setup project in the solution. I get an
> error message that the service is already installed. When I run the
> uninstall option in the context menu of the setup project I get an error
> stating it cannot find the associated assembly.
>
> In searching the forum I found an entry suggesting I delete the registry
> entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. I also ran
> the sc utility to remove it. It does not now show in the services list
> but I
> still cannot install the service. Somewhere there is an indication it is
> still present.
>
> Any ideas on how to completely remove the service or to force an
> installation of the new service version?
>
> As always any input is greatly appreciated.
>
> Thanks,
> Eagle


 
Reply With Quote
 
EagleRed@HighFlyingBirds.com
Guest
Posts: n/a
 
      1st Oct 2009
Thanks. I'll take a look at this. I noticed you mentioned Orca. Could this
have changed in VS2008 before release?

"Wilson, Phil" wrote:

> All other things being equal. reverting to the way that VS 2005 setups used
> to work is most likely the easiest solution:
>
> http://social.msdn.microsoft.com/For...-356828baf80a/
>
> --
> Phil Wilson
> The Definitive Guide to Windows Installer
> http://www.apress.com/book/view/1590592972
>
>
> "(E-Mail Removed)"
> <(E-Mail Removed)> wrote in message
> news:97209F70-AF33-4E6D-A483-(E-Mail Removed)...
> >I am developing a Windows service using VS2008. I cannot install new
> > versions of the service via the setup project in the solution. I get an
> > error message that the service is already installed. When I run the
> > uninstall option in the context menu of the setup project I get an error
> > stating it cannot find the associated assembly.
> >
> > In searching the forum I found an entry suggesting I delete the registry
> > entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. I also ran
> > the sc utility to remove it. It does not now show in the services list
> > but I
> > still cannot install the service. Somewhere there is an indication it is
> > still present.
> >
> > Any ideas on how to completely remove the service or to force an
> > installation of the new service version?
> >
> > As always any input is greatly appreciated.
> >
> > Thanks,
> > Eagle

>

 
Reply With Quote
 
Wilson, Phil
Guest
Posts: n/a
 
      1st Oct 2009
Not sure what you mean exactly, but Orca is an MSI editing tool in the
Windows SDK (install from Orca.msi). You might be thinking I mis-spelt
Orcas, the codename.
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"(E-Mail Removed)"
<(E-Mail Removed)> wrote in message
news:EFD55384-DFE4-4A2B-B427-(E-Mail Removed)...
> Thanks. I'll take a look at this. I noticed you mentioned Orca. Could
> this
> have changed in VS2008 before release?
>
> "Wilson, Phil" wrote:
>
>> All other things being equal. reverting to the way that VS 2005 setups
>> used
>> to work is most likely the easiest solution:
>>
>> http://social.msdn.microsoft.com/For...-356828baf80a/
>>
>> --
>> Phil Wilson
>> The Definitive Guide to Windows Installer
>> http://www.apress.com/book/view/1590592972
>>
>>
>> "(E-Mail Removed)"
>> <(E-Mail Removed)> wrote in message
>> news:97209F70-AF33-4E6D-A483-(E-Mail Removed)...
>> >I am developing a Windows service using VS2008. I cannot install new
>> > versions of the service via the setup project in the solution. I get
>> > an
>> > error message that the service is already installed. When I run the
>> > uninstall option in the context menu of the setup project I get an
>> > error
>> > stating it cannot find the associated assembly.
>> >
>> > In searching the forum I found an entry suggesting I delete the
>> > registry
>> > entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. I also
>> > ran
>> > the sc utility to remove it. It does not now show in the services list
>> > but I
>> > still cannot install the service. Somewhere there is an indication it
>> > is
>> > still present.
>> >
>> > Any ideas on how to completely remove the service or to force an
>> > installation of the new service version?
>> >
>> > As always any input is greatly appreciated.
>> >
>> > Thanks,
>> > Eagle

>>


 
Reply With Quote
 
Paul
Guest
Posts: n/a
 
      8th Oct 2009
This can happen on servers when you uninstall while other users are logged
in. Thought MS had actually solved it years ago. There is a complete set of
instructions for complete manual removal somewhere on MSDN but like I said
it is so long since I've seen this problem that I could not point you there
anymore sorry.

You may have checked HKey_Local_Machine but check the user profiles too just
in case someone failed to click everyone????


"(E-Mail Removed)"
<(E-Mail Removed)> wrote in message
news:97209F70-AF33-4E6D-A483-(E-Mail Removed)...
>I am developing a Windows service using VS2008. I cannot install new
> versions of the service via the setup project in the solution. I get an
> error message that the service is already installed. When I run the
> uninstall option in the context menu of the setup project I get an error
> stating it cannot find the associated assembly.
>
> In searching the forum I found an entry suggesting I delete the registry
> entry in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services. I also ran
> the sc utility to remove it. It does not now show in the services list
> but I
> still cannot install the service. Somewhere there is an indication it is
> still present.
>
> Any ideas on how to completely remove the service or to force an
> installation of the new service version?
>
> As always any input is greatly appreciated.
>
> Thanks,
> Eagle



 
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
Removing Windows and installing DOS as OS Using Dos as OS Windows XP Setup 0 1st Apr 2011 12:04 AM
Re: difficulty installing Java 6 Update 11 on Windows XP PA Bear [MS MVP] Windows XP General 0 22nd Dec 2008 09:11 PM
Installing or Removing Windows Components LeAnne Windows XP Performance 0 10th Sep 2008 05:22 PM
Difficulty Removing Red Flags JimmyG Microsoft Outlook Discussion 6 12th Jul 2008 11:04 PM
when installing windows proff. xp on my computer it stops and will not continue to accept the service pack1 dowlloaded off a cd rom i dowlnloaded it on from microsoft. it keeps saying put in service pack cd rom when its already in the drive. i =?Utf-8?B?cG9ya3k=?= Windows XP Accessibility 1 16th May 2004 05:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:29 AM.