服务无法卸载服务已安装包不可用:错误代码1001 [英] Service Not able to uninstall as Service installed pack unavailable: error code 1001

查看:263
本文介绍了服务无法卸载服务已安装包不可用:错误代码1001的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi..

  We installed one C# windows service using msi package, deleted this service using Command prompt using sc delete myservice. Then i tried installing one more instance of it and i got an error message so i deleted my deleted services related folders from c drive.now the service is there in control panel and while uninstalling am getting error like ' not able to uninstall as services installed pack unavailable".

  Some sites suggesting to recache msi using orca and asking to customize my service and uninstall it.how can i do this.please help.

推荐答案

您混淆安装软件(这是您需要msi软件包的地方)并将其安装为服务(此处使用sc工具)。接下来,您只从服务列表中删除了服务,但没有从已安装软件列表中删除软件。

好​​了,现在注册表处于不一致状态。查看HKLM \ software /\\ Microsoft \ Windows \ CurrentVersion \卸载并删除与您的软件相关的所有密钥。
You mix up installing a software (that's where you need the msi package) and installing it as a service (here you use the sc tool). Consequently, you removed only the service from the service list, but not the software from the list of installed software.
Well, now the registry is in an inconsistent state. Look into HKLM\software\Microsoft\Windows\CurrentVersion\Uninstall and remove all keys related to your software.


这篇关于服务无法卸载服务已安装包不可用:错误代码1001的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆