|
请使用官方默认的文件名“setup_av_pro_cns.exe”。自己又该为自己命名的文件名也可以。
run("setup_av_pro_cns.exe")
WinWait("avast! Pro Antivirus Setup","avast! 安装")
ControlClick("avast! Pro Antivirus Setup","avast! 安装","Button5")
ControlClick("avast! Pro Antivirus Setup","avast! 安装","Button3")
send("n")
WinWait("avast! Pro Antivirus Setup","目标")
send("n")
WinWait("avast! Pro Antivirus Setup","许可证")
send("n")
WinWait("avast! Pro Antivirus Setup","配置")
ControlFocus("avast! Pro Antivirus Setup","配置","ListBox1")
send("{down}")
send("{down}")
ControlFocus("avast! Pro Antivirus Setup","配置","SysTreeView321")
send("{down}")
send("{down}")
send("{space}")
send("{down}")
send("{down}")
send("{space}")
send("{down}")
send("{space}")
send("!n")
WinWait("avast! Pro Antivirus Setup","安装信息")
send("!n")
WinWait("avast! Pro Antivirus Setup","安装结束")
ControlClick("avast! Pro Antivirus Setup","安装结束","Button1") |
|