找回密码
 加入
搜索
查看: 1536|回复: 3

[AU3基础] 3DMark06Install Scipt【已解决】

[复制链接]
发表于 2011-8-1 23:39:44 | 显示全部楼层 |阅读模式
本帖最后由 arkhe 于 2011-8-16 22:53 编辑
WinMinimizeAll()
sleep(1000)
Regwrite("HKEY_LOCAL_MACHINE\SOFTWARE\Futuremark\3DMark06","KeyCode","REG_SZ","3DM06-7WXYJ-XV15P-P37P8-JWY50-7MD1Q")
Sleep(3000)

Run("3DMark06_v110_installer.exe")
WinWaitActive("3DMark06 - InstallShield Wizard", "Welcome to the InstallShield Wizard")
Send("{ENTER}")
WinWaitActive("3DMark06 - InstallShield Wizard", "License Agreement")
Send("{UP}")
Send("{ENTER}")
WinWaitActive("3DMark06 - InstallShield Wizard", "Setup will install 3DMark06 in the following folder")
Send("{ENTER}")
WinWaitActive("3DMark06 - InstallShield Wizard", "The wizard is ready to begin installation")
Send("{ENTER}")


WinWait("Question")
WinActive("Question")
ControlClick("Question", "", "Button1")
Send("{ENTER}")
WinWait("Installing Microsoft(R) DirectX(R)", "Welcome to setup for DirectX")
WinActivate("Installing Microsoft(R) DirectX(R)", "Welcome to setup for DirectX")
Send("{Tab}")
Send("{ENTER}")
WinWait("Installing Microsoft(R) DirectX(R)", "DirectX Runtime Install:")
WinActivate("Installing Microsoft(R) DirectX(R)", "DirectX Runtime Install:")
Send("{ENTER}")
WinWait("Installing Microsoft(R) DirectX(R)", "Installation Complete")
WinActivate("Installing Microsoft(R) DirectX(R)", "Installation Complete")
Send("{ENTER}")


WinWaitActive("OpenAL Installer")
ControlFocus("OpenAL Installer","","OK")
ControlClick("OpenAL Installer","","OK")
WinWaitActive("OpenAL Installer Message")
Send("{ENTER}") 


WinWait("3DMark06 - InstallShield Wizard", "InstallShield Wizard Complete")
WinActivate("3DMark06 - InstallShield Wizard", "InstallShield Wizard Complete")
Send("{SPACE}")
Send("{ENTER}")


Run("3dmark06_v110_0906a_patch.exe")
WinWait("3DMark06 - InstallShield Wizard", "Welcome to the InstallShield Wizard for 3DMark06")
Send("{ENTER}")
WinWait("3DMark06 - InstallShield Wizard", "License Agreement")
Send("{UP}")
Send("{ENTER}")
WinWait("3DMark06 - InstallShield Wizard", "Update Complete")
Send("{SPACE}")
Send("{ENTER}")
 楼主| 发表于 2011-8-1 23:41:30 | 显示全部楼层
很简单的,但是有几个疑惑
这个代码不是初版,明天找到初版,再提出我的疑惑,希望能够解答。
发表于 2011-8-2 00:01:33 | 显示全部楼层
现在Naive们发帖,都是这种方式了呀,要吗直接几个字
要吗拷别人代码一放,然后不说啥问题,让你慢慢猜
发表于 2011-8-2 00:04:21 | 显示全部楼层
直接发到安装区得了
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-10-1 21:27 , Processed in 0.149396 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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