找回密码
 加入
搜索
查看: 14159|回复: 14

[原创] 关于Adobe Flash Player ActiveX 10.1自动安装脚本

 火.. [复制链接]
发表于 2010-8-9 12:13:44 | 显示全部楼层 |阅读模式
关于Adobe Flash Player ActiveX 10.1自动安装的问题,,如何同意条款。
哪位大侠肯伸手相助
发表于 2010-8-9 15:30:43 | 显示全部楼层
新版的不是就改变了静默安装的参数吗?
直接用run("flash.exe /install")这样就可以了啊!
发表于 2010-8-10 14:10:23 | 显示全部楼层
楼上正解
 楼主| 发表于 2010-8-10 14:40:28 | 显示全部楼层
谢谢思夜月心
发表于 2010-8-15 00:08:27 | 显示全部楼层
#requireadmin
#Region AutoIt3Wrapper 预编译参数(常用参数)
#AutoIt3Wrapper_icon=ico.ico
#AutoIt3Wrapper_outfile=自动安装.exe
#AutoIt3Wrapper_Res_Description=install_flash_player 10.1.82.76安装脚本
#AutoIt3Wrapper_Res_LegalCopyright = (C) 2009-2010 我要遨游
#AutoIt3Wrapper_Res_Comment=希望能用的开心^_^
#AutoIt3Wrapper_Res_Field=软件网站|http://www.51aou.com
#AutoIt3Wrapper_Res_Field=作者|醉爱清茶
#AutoIt3Wrapper_Res_Field=腾讯QQ/TM|410836733
#EndRegion AutoIt3Wrapper 预编译参数设置完成

traytip(" 温馨提示","自动安装期间为避免操作失败,请勿动键盘鼠标",15,4)

run("install_flash_player_ax.exe")
WinWaitActive("安装 Adobe Flash Player","此程序将安装 Adobe")
ControlClick("安装 Adobe Flash Player","软件的使用需要遵循","Button4")
ControlClick("安装 Adobe Flash Player","软件的使用需要遵循","Button3")
sleep(3000)
WinWaitActive("安装 Adobe Flash Player","")
ControlClick("安装 Adobe Flash Player","","Button3")
发表于 2010-10-27 11:34:56 | 显示全部楼层
学习了,以前怪不得用信息窗找不到了,原来有默认的参数了
发表于 2010-10-27 13:48:14 | 显示全部楼层
$title="安装 Adobe Flash Player"
$process=ProcessList("iexplore.exe")
For $i=1 To $process[0][0] 
        ProcessClose($process[$i][1])
Next        
AdlibRegister("end")
Func end()
        Select
                Case WinActive($title)==0
                     WinActivate($title)
        EndSelect
EndFunc
Run("flashX\install_flash_player_ax.exe")
WinWaitActive($title,"我已阅读并同意")
Sleep(1000)
ControlCommand($title,"我已阅读并同意","Button4","check",'')
ControlClick($title,"我已阅读并同意","Button3")
Sleep(3000)
WinWaitActive($title,"",10)
ControlClick($title,"","Button3")
AdlibUnRegister()
回复 1# basketballkun
发表于 2010-11-8 12:02:41 | 显示全部楼层
静默安装典型
发表于 2011-4-1 00:27:08 | 显示全部楼层
~~~~~~~~~~~~~~~~~~~~~~~~~
发表于 2011-4-1 23:13:13 | 显示全部楼层
回复 1# basketballkun


    正需要呢,谢谢分享
发表于 2011-6-28 16:27:08 | 显示全部楼层
学习学习~~~
发表于 2011-9-19 12:31:44 | 显示全部楼层
我怎么用run("flash.exe /install")没有起作用呢,没有安装上软件。
发表于 2011-10-21 15:30:50 | 显示全部楼层
发表于 2011-11-2 14:08:22 | 显示全部楼层
不需要,直接Run("flashplayer.exe /install")
发表于 2012-3-22 15:38:43 | 显示全部楼层
上面说的方法在安装Flash player11.2版本是不起作用
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-4-26 18:30 , Processed in 0.077717 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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