Did you overwrite the old files first then try the uninstall? I've seen
people have problems doing that.

If nothing else works, you could try InstallUtil to do the uninstall or the
'sc' command from the command line (http://www.ss64.com/nt/sc.html).

Adam..

> -----Original Message-----
> From: Unmoderated discussion of advanced .NET topics.
> [mailto:[EMAIL PROTECTED] On Behalf Of Eddie Lascu
> Sent: Thursday, October 13, 2005 9:06 AM
> To: [email protected]
> Subject: [ADVANCED-DOTNET] Installing and uninstalling
> windows services
>
> Hello experts,
>
> I have this windows service that was installed on a
> production server a while ago. Fast forward a couple of weeks
> later and my client has requested some new features to be
> added to the service. The features were added and the service
> was regenerated. The problem that I have is that I cannot
> uninstall the old one. When I run
>
> >MyWinService.exe -Install /u
>
> it gives my an error saying that not all the assemblies can be found.
>
> A few observations:
>
> 1. I don't want to change the name of the service as the
> client has some strict rules about the naming of all the
> components. Therefore, the old service must go before the new
> one (with the same name) replaces it.
>
> 2. Since several weeks have passed and I keep my development
> environment
> (VS2003/XP) up to date with all the last patches from MS, I
> am thinking that maybe some assemblies were replaced on my
> machine as a result of the applied patches. I checked and
> both my machine and the production server have .NET Framework
> version 1.1.4322. There is nothing else to install on my
> machine, but I noticed that the production server (running
> Win2k3 Server) asks for Service Pack 1.
>
> Is it conceivable that installing the SP1 will bring both
> configurations to the same level? I can check what
> assemblies/versions are required by the service (using
> ILDASM.exe to inspect its manifest) and all of them are part
> of the .NET Framework. Is there a way to check that these
> assemblies/versions are in place on my production server?

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to