错误 1001 指定的服务不作为已安装的服务存在
我正在测试为我的一个应用程序制作的 Windows 安装程序。我在卸载过程中收到以下错误
事件类型:错误 事件来源:MsiInstaller 活动类别:无 事件ID:11001 日期:2011年7月25日 时间:下午 4:36:16 用户:
电脑:
描述: 无法在源 (MsiInstaller) 中找到事件 ID (11001) 的描述。本地计算机可能没有必要的注册表信息或消息 DLL 文件来显示来自远程计算机的消息。您可以使用 /AUXSOURCE= 标志来检索此描述;有关详细信息,请参阅帮助和支持。以下信息是该事件的一部分: 产品:-- 错误 1001。错误 1001。卸载时发生异常。该异常将被忽略并继续卸载。但是,卸载完成后,应用程序可能无法完全卸载。 -->指定的服务不作为已安装的服务存在,(NULL)、(NULL)、(NULL)。 数据: 0000: 7b 31 37 43 45 36 35 42 {17CE65B 0008:32 2d 37 33 34 33 2d 34 2-7343-4 0010:43 32 38 2d 41 31 45 39 C28-A1E9 0018:2d 34 31 45 36 39 39 37 -41E6997 0020: 37 46 45 41 44 7d 7FEAD}
该场景是
使用 VS 2008 安装项目安装应用程序 -- 它安装服务
从命令提示符处使用“sc delete servicename.exe”停止并删除服务
尝试从控制面板卸载应用程序
在我的情况下,RemovePreviousVersions 选项为 True。这是一个合适的场景还是安装程序的设计无法承受这种弹性测试?
有人可以指导我解决这个问题吗?
I am testing a windows installer I have made for one of my applications. I got the following error during uninstallation
Event Type: Error
Event Source: MsiInstaller
Event Category: None
Event ID: 11001
Date: 7/25/2011
Time: 4:36:16 PM
User:
Computer:
Description:
The description for Event ID ( 11001 ) in Source ( MsiInstaller ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Product: -- Error 1001. Error 1001. 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 specified service does not exist as an installed service, (NULL), (NULL), (NULL).
Data:
0000: 7b 31 37 43 45 36 35 42 {17CE65B
0008: 32 2d 37 33 34 33 2d 34 2-7343-4
0010: 43 32 38 2d 41 31 45 39 C28-A1E9
0018: 2d 34 31 45 36 39 39 37 -41E6997
0020: 37 46 45 41 44 7d 7FEAD}
the scenario was
installed the application using VS 2008 setup project -- it installs a service
stopped and deleted the service using 'sc delete servicename.exe' from command prompt
tried to uninstall the application from control panel
The RemovePreviousVersions option is True in my case. Is this a proper scenario or is the installer not designed to survive this kind of resilience testing?
Could anyone please guide me on solving this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论