|
新手提问,请教论坛的各位大神,用AU3安装软件如何实现静默安装?就是如何在运行脚本时不出现任何安装界面,而是在后台静默安装。谢谢了!比如下面的这个例子:
Run('QQPinyin_Setup.exe')
_WinWaitActivate("QQ输入法纯净版1.1安装向导","欢迎使用“QQ输入法纯净版1.1”安装向")
Send("{ALTDOWN}n{ALTUP}")
_WinWaitActivate("QQ输入法纯净版1.1安装向导 ","在安装“QQ输入法纯净版1.1”之前,请")
Send("{ALTDOWN}i{ALTUP}")
_WinWaitActivate("QQ输入法纯净版1.1安装向导 ","选择“QQ输入法纯净版1.1”的安装文件")
Send("{ALTDOWN}i{ALTUP}")
_WinWaitActivate("QQ输入法纯净版1.1安装向导 ","感谢您使用QQ输入法纯净版!")
Send("{ENTER}")
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc |
|