关于Adobe Flash Player ActiveX 10.1自动安装脚本
关于Adobe Flash Player ActiveX 10.1自动安装的问题,,如何同意条款。哪位大侠肯伸手相助{:face (396):} 新版的不是就改变了静默安装的参数吗?
直接用run("flash.exe /install")这样就可以了啊! 楼上正解 {:face (356):} 谢谢思夜月心{:face (88):}
#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")
学习了,以前怪不得用信息窗找不到了,原来有默认的参数了 $title="安装 Adobe Flash Player"
$process=ProcessList("iexplore.exe")
For $i=1 To $process
ProcessClose($process[$i])
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 静默安装典型 ~~~~~~~~~~~~~~~~~~~~~~~~~ 回复 1# basketballkun
正需要呢,谢谢分享 学习学习~~~ 我怎么用run("flash.exe /install")没有起作用呢,没有安装上软件。 http://www.autoitx.com/thread-15678-1-2.html 不需要,直接Run("flashplayer.exe /install") 上面说的方法在安装Flash player11.2版本是不起作用
页:
[1]