jfb0822 发表于 2010-9-23 09:19:30

avast!5.0.677专业版安装脚本。

avast!5.0.677专业版安装脚本。软件文件名默认为官方的“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")

liu385160780 发表于 2010-9-24 06:47:06

{:face (332):}
页: [1]
查看完整版本: avast!5.0.677专业版安装脚本。