gpt4 book ai didi

windows-services - Installutil不会卸载: “The specified service does not exist as an installed service”

转载 作者:行者123 更新时间:2023-12-04 07:28:03 27 4
gpt4 key购买 nike

我一直在尝试使用installutil:installutil /u GSIS.FileMoverService.exe安装Windows服务。

我得到的输出是:

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.



尝试卸载时,该服务已停止。它肯定已注册为服务。我已经重新启动,并且在“服务”小程序(services.msc)中仍然可见。它也可以从“服务”小程序成功启动和停止,因此看起来好像没有成功安装(或仅部分安装)。

我正在从VS2010命令提示符(单击“以管理员身份运行”)中调用installutil。

有任何想法吗?

最佳答案

最后,我使用sc delete GSIS.FileMoverService删除了该服务。这行得通。

关于windows-services - Installutil不会卸载: “The specified service does not exist as an installed service” ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13608157/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com