找回密码
 加入
搜索
查看: 1379|回复: 0

安装OFFICE

[复制链接]
发表于 2008-12-25 10:45:34 | 显示全部楼层 |阅读模式
run("SETUP.EXE")
WinWaitActive("Microsoft Office 2003 安装","产品密钥")
Send("GWH28")
sleep(500)
Send("DGCMP")
sleep(500)
Send("P6RC4")
sleep(500)
Send("6J4MT")
sleep(500)
Send("3HFDY")
ControlClick("Microsoft Office 2003 安装","产品密钥","Button1")
winWaitActive("Microsoft Office 2003 安装","用户信息")
ControlClick("Microsoft Office 2003 安装","用户信息","Button1")
WinWaitActive("Microsoft Office 2003 安装","最终用户许可协议")
ControlClick("Microsoft Office 2003 安装","最终用户许可协议","Button1")
ControlClick("Microsoft Office 2003 安装","最终用户许可协议","Button2")
WinWaitActive("Microsoft Office 2003 安装","建议安装类型")
Send("!o")
sleep(500)
send("!n")
WinWaitActive("Microsoft Office 2003 安装","摘要")
ControlClick("Microsoft Office 2003 安装","摘要","Button1")
WinWaitActive("Microsoft Office 2003 安装","安装已完成")
ControlClick("Microsoft Office 2003 安装","安装已完成","Button1")
ControlClick("Microsoft Office 2003 安装","安装已完成","Button2")
WinWaitActive("Microsoft Office 2003 安装","是否确实要从缓存中删除该安装源?")
ControlClick("Microsoft Office 2003 安装","是否确实要从缓存中删除该安装源?","Button1")
run("office兼容包A.exe")
;这是一个完全安装的,但每次改自定义安装在其它机器上就会最小安装!郁闷.
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-12-23 12:28 , Processed in 0.097221 second(s), 22 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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