找回密码
 加入
搜索
楼主: bill-0970

关于在做万象客户端遇到的一个问题,高手看看!困扰我很久的问题!

[复制链接]
发表于 2009-4-26 21:26:01 | 显示全部楼层
我说,不是每个人都装万象的。你想要解决问题,至少也要给出au3info的相关截图。
一般来说,如果不能确定窗口是否弹出(比如你选了TCP协议,这个窗口估计不会出现),针对此窗口的处理要放在AdlibEnable里。
发表于 2009-4-27 11:10:42 | 显示全部楼层
这是我写的万象自动安装程序,希望对你有帮助.
RUN ("Clt2K.exe")

WinWaitActive ("选择安装语言","选择安装时要使用的语言:")
ControlClick ("选择安装语言","","TButton1")

WinWaitActive ("安装 - 万象网管2004/2006 客户端","欢迎使用 万象网管2004/2006 客户端 安装向导")
ControlClick ("安装 - 万象网管2004/2006 客户端","","TButton1")

WinWaitActive ("安装 - 万象网管2004/2006 客户端","许可协议")
ControlClick ("安装 - 万象网管2004/2006 客户端","","TRadioButton1")

WinWaitActive ("安装 - 万象网管2004/2006 客户端","许可协议")
ControlClick ("安装 - 万象网管2004/2006 客户端","","TButton2")

WinWaitActive ("安装 - 万象网管2004/2006 客户端","选择安装产品类型")
ControlClick ("安装 - 万象网管2004/2006 客户端","","TButton2")

WinWaitActive ("安装 - 万象网管2004/2006 客户端","选择协议类型")
ControlCommand ("安装 - 万象网管2004/2006 客户端","选择协议类型","TComboBox1","SetCurrentSelection",0)
ControlClick ("安装 - 万象网管2004/2006 客户端","","TButton2")

WinWaitActive ("安装 - 万象网管2004/2006 客户端","准备安装")
ControlClick ("安装 - 万象网管2004/2006 客户端","","TButton2")

WinWaitActive ("安装 - 万象网管2004/2006 客户端","万象网管2004/2006 客户端 安装向导完成")
ControlClick ("安装 - 万象网管2004/2006 客户端","","TRadioButton2")
ControlClick ("安装 - 万象网管2004/2006 客户端","","TButton2")

FileDelete(@DesktopCommonDir & "\换机.lnk")
FileDelete(@DesktopCommonDir & "\结帐下机.lnk")
FileDelete(@DesktopCommonDir & "\看我用了多久.lnk")
FileDelete(@DesktopCommonDir & "\网吧超市.lnk")
FileDelete(@DesktopCommonDir & "\向服务端发送消息.lnk")
FileDelete(@DesktopCommonDir & "\修改会员卡密码.lnk")

RUN ("万象网管2004客户端网盾实名插件.exe");客户端安装程序  

WinWaitActive ("Setup - 万象网管2004客户端网盾实名插件","Welcome to the 万象网管2004客户端网盾实名插件 Setup Wizard")
ControlClick ("Setup - 万象网管2004客户端网盾实名插件","","TButton1")

WinWaitActive ("Setup - 万象网管2004客户端网盾实名插件","你想要安装那些程序组件?")
ControlClick ("Setup - 万象网管2004客户端网盾实名插件","","TButton2")

WinWaitActive ("Setup - 万象网管2004客户端网盾实名插件","Select Destination Location")
ControlClick ("Setup - 万象网管2004客户端网盾实名插件","","TButton3")

WinWaitActive ("Setup - 万象网管2004客户端网盾实名插件","Ready to Install")
ControlClick ("Setup - 万象网管2004客户端网盾实名插件","","TButton3")

WinWaitActive ("Setup - 万象网管2004客户端网盾实名插件","Click Finish to exit Setup.")
ControlClick ("Setup - 万象网管2004客户端网盾实名插件","","TButton3")

Exit
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-11-24 20:42 , Processed in 0.086312 second(s), 14 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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