本帖最后由 宇智波·佐助 于 2014-9-1 10:41 编辑
此程序源码用余 exe文件路径的方法 AU3自动安装软件方法开源 内付易语言读注册表 详解
喜欢易语言的朋友可以加相互学习 如果有不懂的问我
实现内容是 大型软件更新文件 “ 软件自动寻找主程序exe文件路径+软件自动安装+软件注册”
自动化程序.rar
(834.57 KB, 下载次数: 194)
AU3自动安装源码
#include Dim $Path If Not (FileExists (@ScriptDir & "\Storm.exe")) Then MsgBox (0+16,"错误","暴风影音安装文件 Storm.exe 未发现!") Else If FileExists (@ScriptDir & "\InstallPath.ini") Then $Path=IniRead (@ScriptDir & "\InstallPath.ini","InstallPath","Path","") Else $Path="" EndIf Run (@ScriptDir & "\Storm.exe") WinWaitActive ("暴风影音 V3","欢迎使用") Send ("!N") WinWaitActive ("暴风影音 V3","用户许可协议") Send ("!I") WinWaitActive ("暴风影音 V3","选择安装位置") If $Path<>"" Then Send ($Path,0) Sleep (300) EndIf Send ("!I") WinWaitActive ("暴风影音 V3","正在完成") Send ("{Space}") Send ("!F") EndIf
|