本帖最后由 lzymbz 于 2010-4-18 18:40 编辑 #requireadmin
#Region AutoIt3Wrapper 预编译参数(常用参数)
#AutoIt3Wrapper_icon=ico.ico
#AutoIt3Wrapper_outfile=自动安装.exe
#AutoIt3Wrapper_Res_Description=腾讯QQ2009 1.25.660.0安装脚本
#AutoIt3Wrapper_Res_LegalCopyright = 版权所有 (C) 2010
#AutoIt3Wrapper_Res_Comment=www.51aou.com 制作:醉爱清茶
#EndRegion AutoIt3Wrapper 预编译参数设置完成
traytip(" 温馨提示","自动安装期间为避免操作失败,请勿动键盘鼠标",15,4)
run("腾讯QQ2009.exe")
WinWaitActive("腾讯QQ2009 安装向导","当前第1步,共5步")
ControlClick("腾讯QQ2009 安装向导","我已阅读并同意软件许可协议和青少年上网安全指导","Button1")
ControlClick("腾讯QQ2009 安装向导","下一步(&N)","Button3")
WinWaitActive("腾讯QQ2009 安装向导","当前第2步,共5步")
ControlClick("腾讯QQ2009 安装向导","将浏览器的首页设置为QQ.com","Button9")
ControlClick("腾讯QQ2009 安装向导","安装腾讯软件管理器","Button8")
ControlClick("腾讯QQ2009 安装向导","安装QQ工具栏","Button10")
ControlClick("腾讯QQ2009 安装向导","安装中文搜搜","Button11")
ControlClick("腾讯QQ2009 安装向导","快速启动栏","Button7")
ControlClick("腾讯QQ2009 安装向导","下一步(&N)","Button2")
WinWaitActive("腾讯QQ2009 安装向导","当前第3步,共5步")
ControlClick("腾讯QQ2009 安装向导","安装(&I)","Button2")
WinWaitActive("腾讯QQ2009 安装向导","当前第5步,共5步")
ControlClick("腾讯QQ2009 安装向导","立即运行腾讯QQ2009","Button6")
ControlClick("腾讯QQ2009 安装向导","显示新特性","Button7")
ControlClick("腾讯QQ2009 安装向导","开机时启动腾讯QQ2009","Button8")
ControlClick("腾讯QQ2009 安装向导","完成(&F)","Button2")
FileDelete(@AppDataDir&"\Microsoft\Internet Explorer\Quick Launch\腾讯QQ.lnk")
|