I have been trying to install a Windows service using installutil: installutil /u GSIS.FileMoverService.exe
.
The output I get is :
Uninstalling assembly 'C:\FMS\GSIS.FileMoverService.exe'. Affected parameters are:
logtoconsole = logfile = C:\FMS\GSIS.FileMoverService.InstallLog
assemblypath = C:\FMS\GSIS.FileMoverService.exe Removing EventLog source File Mover Service.
Warning: The source File Mover Service is not registered on the local machine. Service File Mover Service is being removed from the system...
An exception occurred during the uninstallation of the System.ServiceProcess.ServiceInstaller installer. System.ComponentModel.Win32Exception: The specified service does not exist as an installed service An exception occurred while uninstalling.
This exception will be ignored and the uninstall will continue. However, the application might not be fully uninstalled after the uninstall is complete.
The service has been stopped when I try to uninstall. It's definitely registered as a services. I've rebooted and it's still visible in the Services applet (services.msc). It also starts and stops successfully from the Services applet, so it doesn't look like it's been unsuccessfully (or only partially) installed.
I am calling installutil from the VS2010 Command Prompt (having clicked Run As Administrator).
Any ideas?