前几天我公司电脑出了问题,启动后黑屏,没有办法只能重装系统。然后,所有的应用软件都要重新安装。博途系列软件安装还算顺利,但是在安装西门子S7 Distributed Safety时,弹出了下面的对话框:

尝试用命令行进行安装。
在命令行界面下倒是不会弹出这个对话框了,但让我一遍遍的重启。网上查了下资料,删除了一个注册表键值,然后再次在命令行界面下安装,最终安装成功了。这里记录并与大家分享一下,以便后续遇到少走弯路。

第一打开注册表编辑器(在Windows搜索栏或命令行运行“regedit”),在“HKEY_LOCAL_MACHINE”→“SYSTEM”→“CurrentControlSet”→“Control”→“Session Manager”,找到“
PendingFileRenameOperations”这一项,如下图所示:

直接将该键及键值删除,完成后如下图所示:

不用重启电脑,直接以管理员身份(权限)运行命令行程序,进入软件存放的文件夹,执行安装命令(setup.exe),如下图所示:

这样,S7 Distributed Safety就可以正常安装了,如下图所示:

好了,这篇文章就分享一个小经验。
相关链接:
S7 Distributed Safety的安装使用 | 北岛夜话
下面是西门子故障安全文章的归档链接:
西门子故障安全文章归档 | 北岛夜话
我的书《西门子S7-1200/1500 PLC SCL语言编程 ——从入门到精通》从硬件到软件,比较详细的介绍了SCL语言的编程,感兴趣的话可以点击下面的链接查看:
#pgc-card .pgc-card-href { text-decoration: none; outline: none; display: block; width: 100%; height: 100%; } #pgc-card .pgc-card-href:hover { text-decoration: none; } /*pc 样式*/ .pgc-card { box-sizing: border-box; height: 164px; border: 1px solid #e8e8e8; position: relative; padding: 20px 94px 12px 180px; overflow: hidden; } .pgc-card::after { content: ” “; display: block; border-left: 1px solid #e8e8e8; height: 120px; position: absolute; right: 76px; top: 20px; } .pgc-cover { position: absolute; width: 162px; height: 162px; top: 0; left: 0; background-size: cover; } .pgc-content { overflow: hidden; position: relative; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .pgc-content-title { font-size: 18px; color: #222; line-height: 1; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pgc-content-desc { font-size: 14px; color: #444; overflow: hidden; text-overflow: ellipsis; padding-top: 9px; overflow: hidden; line-height: 1.2em; display: -webkit-inline-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .pgc-content-price { font-size: 22px; color: #f85959; padding-top: 18px; line-height: 1em; } .pgc-card-buy { width: 75px; position: absolute; right: 0; top: 50px; color: #406599; font-size: 14px; text-align: center; } .pgc-buy-text { padding-top: 10px; } .pgc-icon-buy { height: 23px; width: 20px; display: inline-block; background: url(https://lf6-cdn-tos.bytescm.com/obj/cdn-static-resource/pgc/v2/pgc_tpl/static/image/commodity_buy_f2b4d1a.png); }
西门子S7-1200/1500 PLC SCL语言编程从入门到精通
¥69
购买
<script src=”//mp.toutiao.com/mp/agw/mass_profit/pc_product_promotions_js?item_id=7383658380839125539″></script>



















暂无评论内容