惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threatpost
V
Vulnerabilities – Threatpost
TaoSecurity Blog
TaoSecurity Blog
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
G
GRAHAM CLULEY
S
Securelist
P
Palo Alto Networks Blog
MongoDB | Blog
MongoDB | Blog
A
Arctic Wolf
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
WordPress大学
WordPress大学
Project Zero
Project Zero
T
Threat Research - Cisco Blogs
L
Lohrmann on Cybersecurity
C
Cyber Attacks, Cyber Crime and Cyber Security
F
Fortinet All Blogs
博客园 - 叶小钗
B
Blog RSS Feed
C
Cisco Blogs
Google DeepMind News
Google DeepMind News
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
G
Google Developers Blog
K
Kaspersky official blog
D
Docker
Latest news
Latest news
Cisco Talos Blog
Cisco Talos Blog
T
Tor Project blog
Cyberwarzone
Cyberwarzone
Security Latest
Security Latest
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Spread Privacy
Spread Privacy
Microsoft Azure Blog
Microsoft Azure Blog
C
Check Point Blog
J
Java Code Geeks
Simon Willison's Weblog
Simon Willison's Weblog
T
Tenable Blog
Recent Announcements
Recent Announcements
T
Tailwind CSS Blog
H
Help Net Security
L
LINUX DO - 热门话题
T
The Exploit Database - CXSecurity.com
Jina AI
Jina AI
S
SegmentFault 最新的问题
MyScale Blog
MyScale Blog
NISL@THU
NISL@THU
美团技术团队
腾讯CDC

博客园 - 湘南和也

终于从梦中醒来 第一次动手做菜(炒菜片) 第一次动手做菜(切菜篇) 程序编码应保持良好的规范(C#) web开发中让我郁闷不已的小失误 完成我的第一个windows service的开发 7天内两爬白云山 学习socket编程之一:用smtp协议发送邮件 无言随笔 心情不爽 实战服务器环境设置 感悟 我看盗版现象 黄山游记(三):登黄山 也许是被忽略的update语句 灵活使用DataView 黄山游记(二)初来乍到 黄山游记(一)预备篇 好久没更新了
关于卸载windows service后再重新安装遇到的特殊问题
湘南和也 · 2005-07-05 · via 博客园 - 湘南和也

今天早上回来后发现自己写的windows service需要修改调整,就用installutil/u卸载了该服务。等自己修改好后再用installutil进行安装的时候,却总是提示安装失败:The specified service has been marked for deletion.

当然是郁闷啦,不过我还有google,呵呵,就让我在msdn的英文网站上找到了如下解释:

Once you have the post-build event in place, you'll need to keep in mind that every time you build, it will make the installutil calls automatically. Don't leave your services window open when you're building or running installutil or you could get a highly mysterious error: "The specified service has been marked for deletion."就是说在你运行installutil的时候,不要让计算机管理窗口打开着,否则将出现上述错误。

我就是这个情况,关了管理窗口后,再安装就成功了。以后哪位朋友遇到类似问题可以看看是不是打开了管理窗口。