sdlw999 发表于 2010-6-3 19:55:57

QQPlayer_Setup_2.3.696.400自动安装脚本

#NoTrayIcon
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=ico.ico
#AutoIt3Wrapper_Res_Fileversion=0.0.0.0
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
$TITLE="QQ影音2.3 安装"
run("QQPlayer_Setup_2.3.exe")
WinWait($TITLE,'欢迎使用“QQ影音2.3”安装向导')
WinActivate($TITLE,'欢迎使用“QQ影音2.3”安装向导')
ControlClick ($TITLE,'欢迎使用“QQ影音2.3”安装向导',"Button2")
WinWait($TITLE,'许可证协议')
WinActivate($TITLE,'许可证协议')
ControlClick ($TITLE,'许可证协议',"Button2")
WinWait($TITLE,'选择组件')
WinActivate($TITLE,'选择组件')
ControlClick ($TITLE,'选择组件',"Button2")
WinWait($TITLE,"选择安装位置")
WinActivate($TITLE,"选择安装位置")
ControlSetText($TITLE,'选择安装位置','Edit1','d:\Program Files\Tencent\QQPlayer')
ControlClick ($TITLE,"选择安装位置","Button2")
WinWait($TITLE,'正在完成“QQ影音2.3”安装向导')
WinActivate($TITLE,'正在完成“QQ影音2.3”安装向导')
ControlCommand($TITLE, '正在完成“QQ影音2.3”安装向导', "Button4", "UnCheck", "")
ControlClick ($TITLE,'正在完成“QQ影音2.3”安装向导',"Button2")
FileDelete(@AppDataDir & "\Microsoft\Internet Explorer\Quick Launch\QQ影音.lnk")
EXIT

yejier1983 发表于 2010-6-3 19:59:02

新手路过,先标记一下
页: [1]
查看完整版本: QQPlayer_Setup_2.3.696.400自动安装脚本