用autoit v3 实现 ODBC 3.51.11.0 自动安装

Opt("WinWaitDelay",100)
Opt("WinTitleMatchMode",4)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
Run('setup.exe')
WinWaitActive("MyODBC Setup","Unauthorized reproduction or distribution of this program, or any portion of it, may result in severe civil and criminal penalties, and will be prosecuted to the maximum extent possible under law.")
Send("{ENTER}")
SLEEP(50)
Send("{ENTER}")
SLEEP(50)
WinWaitActive("MyODBC Setup","License Agreement")
Send("{UP}")
SLEEP(50)
Send("{ENTER}")
SLEEP(50)
WinWaitActive("MyODBC Setup","Readme Information")
Send("{ENTER}")
SLEEP(50)
WinWaitActive("MyODBC Setup","Ready to Install the Application")
Send("{ENTER}")
SLEEP(50)
WinWait("MyODBC Setup","MyODBC has been succ")
If Not WinActive("MyODBC Setup","MyODBC has been succ") Then WinActivate("MyODBC Setup","MyODBC has been succ")
WinWaitActive("MyODBC Setup","MyODBC has been succ")
Send("{ENTER}")



----------------

当然,这只是用ODBC的安装包举个例子,在这里,我想向各位高手请教,除了autoitv3还有什么软件可以实现自动安装功能? 最好是连安装界面都不显示,直接在后台自动安装.

用户系统信息:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727)
最后编辑鬼鬼小猫咪 最后编辑于 2009-05-27 14:58:19