我下的是最新版6
垃圾瑞星
搞得我系统又怪怪的#NoTrayIcon
Run(@ScriptDir & "\kakasetupv6.exe")
WinWait("欢迎")
WinWaitActive("欢迎")
ControlClick("欢迎","&Next >","Button2")
WinWait("安装协议")
WinWaitActive("安装协议")
ControlClick("安装协议","同意(&I)","Button1")
ControlClick("安装协议","&Next >","Button4")
WinWait("安装信息")
WinWaitActive("安装信息")
;ControlSetText("安装信息","","Edit1","D:\Program Files\Rising\AntiSpyware");如果要安装到D盘,把前面分号去掉
;ControlClick("安装信息","","Button3");若要安装“安装瑞星卡卡上网安全助手IE工具条”,把分号去掉
ControlClick("安装信息","&Next >","Button7")
WinWait("自动在线诊断设置")
WinWaitActive("自动在线诊断设置")
ControlClick("自动在线诊断设置","","Button1");若要“启动自动在线诊断功能”,在最前面加上分号
;ControlSetText("自动在线诊断设置","","Edit1","邮箱地址");若要“启动自动在线诊断功能”,把前面分号去掉,把
邮箱地址改为你自己的
ControlClick("自动在线诊断设置","&Next >","Button8")
WinWait("安装结束")
WinWaitActive("安装结束")
WinActivate("安装结束")
ControlClick("安装结束","Finish","Button12")
|