使用installutil /u serviceassembly,再次安装时抱错
Running a transacted installation.
Beginning the Install phase of the installation.
See the contents of the log file for the .../obj/release/ncsscanner.exe assembly's progress.
The file is located at .../obj/release/ncsscanner.InstallLog.
An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: 指定的服務已標註刪除。
The Rollback phase of the installation is beginning.
See the contents of the log file for the .../obj/release/ncsscanner.exe assembly's progress.
The file is located at .../obj/release/ncsscanner.InstallLog.
The Rollback phase completed successfully.
The transacted install has completed.
原因居然是uninstall时开着services.msc,faint...