找回密码
 加入
搜索
查看: 1254|回复: 3

求一个QQ2009的自动安装的代码谢谢!!

[复制链接]
发表于 2009-2-10 15:20:20 | 显示全部楼层 |阅读模式
求一个QQ2009的自动安装的代码谢谢!!
QQ:521172093
发表于 2009-2-12 21:27:43 | 显示全部楼层
这个简单,看个自动安装教程就会了。
发表于 2009-3-7 16:23:07 | 显示全部楼层

QQ2009b4

Run('QQ2009Beta.exe')
WinWait("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009")     
WinWaitActive("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009")
ControlCommand("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009", "Button1", "Check")     ;打上钩 我已阅读并同意软件许可协议和青少年上网安全指导
Send("!n")
WinWaitActive("腾讯QQ2009 安装向导","请选择使用环境与查杀木马设置")
Send("!n")
WinWaitActive("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项")
ControlCommand("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项", "Button9", "UnCheck")     ;去掉 将浏览器的首页设置为QQ.com 钩
ControlCommand("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项", "Button6", "UnCheck")
Send("!n")
WinWaitActive("腾讯QQ2009 安装向导","请选择安装路径")
ControlCommand("腾讯QQ2009 安装向导","请选择安装路径", "Button8", "Check")
Send("!i")
WinWait("腾讯QQ2009 安装向导","安装完成")
WinWaitActive("腾讯QQ2009 安装向导","安装完成")
ControlCommand("腾讯QQ2009 安装向导","安装完成", "Button6", "UnCheck")  
ControlCommand("腾讯QQ2009 安装向导","安装完成", "Button7", "UnCheck")  
Send("{enter}")
发表于 2009-3-10 16:13:51 | 显示全部楼层
#NoTrayIcon
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_outfile=C:\Documents and Settings\cface\桌面\QQ9.EXE
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
FileInstall("E:\Consen\autoit3\QQ2009.exe","C:\QQ2009.exe");
Run("C:\QQ2009.exe")
WinWaitActive("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009")
ControlCommand("腾讯QQ2009 安装向导","我已阅读并同意软件许可协议和青少年上网安全指导","Button1","Check", "")
Send("!N")
WinWaitActive("腾讯QQ2009 安装向导","请选择使用环境与查杀木马设置")
ControlCommand("腾讯QQ2009 安装向导","网吧、学校等公共机房","Button7","Check", "")
ControlCommand("腾讯QQ2009 安装向导","网吧、学校等公共机房","Button12","Check", "")
Send("!N")
WinWaitActive("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项")
ControlCommand("腾讯QQ2009 安装向导","将浏览器的首页设置为QQ.com","Button9","UnCheck", "")
ControlCommand("腾讯QQ2009 安装向导","桌面","Button6","UnCheck", "")
ControlCommand("腾讯QQ2009 安装向导","快速启动栏","Button7","UnCheck", "")
ControlCommand("腾讯QQ2009 安装向导","安装腾讯软件管理器","Button8","UnCheck", "")
ControlCommand("腾讯QQ2009 安装向导","安装QQ工具栏","Button10","UnCheck", "")
ControlCommand("腾讯QQ2009 安装向导","安装中文搜搜","Button11","UnCheck", "")
Send("!N")
WinWaitActive("腾讯QQ2009 安装向导","请选择安装路径")
Send("!I")
WinWaitActive("腾讯QQ2009 安装向导","当前第6步,共6步")
ControlCommand("腾讯QQ2009 安装向导","显示新特性","Button7","UnCheck", "")
ControlCommand("腾讯QQ2009 安装向导","开机时启动腾讯QQ2009","Button8","UnCheck", "")
Send("!F")
$A=FileDelete("C:\QQ2009.exe")
While $A==0
        $A=FileDelete("C:\QQ2009.exe")
WEnd
Exit
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-15 11:00 , Processed in 0.080444 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表