|
发表于 2023-9-13 15:39:32
|
显示全部楼层
广东省深圳市
如果真 (系统版本 ≤ 9 ) 写到文件 (取特定目录 (11 ) + “win7.reg”, #reg ) 系统_取DOS执行结果 (“Regedit /s ” + 取特定目录 (11 ) + “win7.reg”, ) 删除文件 (取特定目录 (11 ) + “win7.reg”)![](source/plugin/code_color/image/code7/03.png) 补丁 = 系统_取DOS执行结果 (“wmic qfe GET hotfixid”, )![](source/plugin/code_color/image/code7/03.png) 如果真 (寻找文本 (补丁, “KB3140245”, , 假) = -1 ) ![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) a = 信息框 (“缺少补丁,按确定程序将安装补丁,按取消结束程”, #警告图标 + #确认取消钮, “警告”, _启动窗口 )![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 如果真 (a = 1 )![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 结束 ()![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/01.png) ![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 图片框2.可视 = 真 ![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 透明标签1.标题 = “正在安装补丁,安装后请重启计算机....”![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 按钮1.禁止 = 真 [attach ]1277719 [/attach ]![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 如果 (系统_是否64位操作系统 ()) ![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 写到文件 (取特定目录 (11 ) + “windows6.1-kb3140245-x64.msu”, #buding_64 )![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 系统_取DOS执行结果 (“wusa ” + 取特定目录 (11 ) + “windows6.1-kb3140245-x64.msu /quiet /promptrestart”, )![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 写到文件 (取特定目录 (11 ) + “windows6.1-kb3140245-x86.msu”, #buding_32 )![](source/plugin/code_color/image/code7/03.png) ![](source/plugin/code_color/image/code7/03.png) 系统_取DOS执行结果 (“wusa ” + 取特定目录 (11 ) + “windows6.1-kb3140245-x86.msu /quiet /promptrestart”, ) |
|