13 12
发新话题
打印

请问怎么才能实现自动安装文件里的SETUP文件

请问怎么才能实现自动安装文件里的SETUP文件

http://ezbsys.lunarpages.com/cgi-bin/topic.cgi?forum=1&topic=4492
欢迎来我的论坛作客,讨论启动技术:

http://www.haopeng.org/bbs/

启动技术区
影视音乐区
游戏动漫区
休闲娱乐区  

TOP

请问怎么才能实现自动安装文件里的SETUP文件

我进去看了,但我还是没看明白
我也装了AutoIt3软件,但我不会用

TOP

请问怎么才能实现自动安装文件里的SETUP文件

Run("ACDSEE.exe")
WinWaitActive("ACDSee 6.0 PowerPack - InstallShield Wizard","WARNING: This program is protected by copyright law and international treaties.")
Send("!n")
WinWaitActive("ACDSee 6.0 PowerPack - InstallShield Wizard","License Agreement")
Send("!a")
sleep(1000)
send("{enter}")
WinWaitActive("ACDSee 6.0 PowerPack - InstallShield Wizard","Customer Information")
ControlSend("ACDSee 6.0 PowerPack - InstallShield Wizard","","RichEdit20W1","Forest")
send("{Tab}")
ControlSend("ACDSee 6.0 PowerPack - InstallShield Wizard","","RichEdit20W2","Home")
send("{Tab}")
ControlSend("ACDSee 6.0 PowerPack - InstallShield Wizard","","Edit1","453")
ControlSend("ACDSee 6.0 PowerPack - InstallShield Wizard","","Edit2","613")
ControlSend("ACDSee 6.0 PowerPack - InstallShield Wizard","","Edit3","016")
ControlSend("ACDSee 6.0 PowerPack - InstallShield Wizard","","Edit4","270")
ControlSend("ACDSee 6.0 PowerPack - InstallShield Wizard","","Edit5","487")
ControlSend("ACDSee 6.0 PowerPack - InstallShield Wizard","","Edit6","541")
sleep(1000)
ControlClick("ACDSee 6.0 PowerPack - InstallShield Wizard","&Next >","Button4")
WinWaitActive("ACDSee 6.0 PowerPack - InstallShield Wizard","Setup Type")
Send("!n")
WinWaitActive("ACDSee 6.0 PowerPack - InstallShield Wizard","Shell Integration Setup")
Send("!n")
WinWaitActive("ACDSee 6.0 PowerPack - InstallShield Wizard","Ready to Install the Program")
Send("!i")
WinWaitActive("ACDSee 6.0 PowerPack - InstallShield Wizard","InstallShield Wizard Completed")
ControlClick("ACDSee 6.0 PowerPack - InstallShield Wizard","","Button4")
ControlClick("ACDSee 6.0 PowerPack - InstallShield Wizard","&Finish","Button5")
WinWaitActive("ACDSee 6.0 PowerPack Installer Information","&No")
Send("!n")
ProcessClose("DevDetect.exe")
Run("HB.exe")
WinWaitActive("ACDSee 6.06 汉化补丁","欢迎使用“ACDSee 6.06 汉化补丁”安装程序。")
Send("!n")
sleep(500)
WinWaitActive("ACDSee 6.06 汉化补丁","开始安装")
Send("!n")
WinWaitActive("ACDSee 6.06 汉化补丁","“ACDSee 6.06 汉化补丁”已经成功地安装。")
Send("!f")
runwait("regedit.exe /s \Softinst\ACDSEE\acd1.reg")
runwait("regedit.exe /s \Softinst\ACDSEE\acd2.reg")

结合例子,看看软件帮助
欢迎来我的论坛作客,讨论启动技术:

http://www.haopeng.org/bbs/

启动技术区
影视音乐区
游戏动漫区
休闲娱乐区  

TOP

 13 12
发新话题