I’ve got a WCF service running on a Windows 2003 Server, which I wrote using .NET 3.5. It looks like I’ll need to do some modifications to it, and I thought that I’d migrate the service to .NET 4.0 in the process. I wrote it to use TCP, rather than HTTP, so the WCF service runs another a Windows Service I wrote, too. To put that service in place on the server, I used the InstallUtil.exe utility. I’ve already installed the .NET framework 4.0 on the server, but I’m not sure how to go about uninstalling my Windows Service/WCF service, since there’s 2 .NET frameworks there, and presumably each with it’s own InstallUtil.exe. If Visual Studio was installed on the server I could run a command prompt from VS’s Tools, but that’s not available. So, how do I execute the correct InstallUtil.exe to uninstall the .NET 3.5 version, and then later install the 4.0 version?
Share
You should be able to specify the full path on the command-line e.g.
C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe