adsen2009 发表于 2009-6-29 23:03:59

完美安装和配置CyberArticle5

$cyber0="CyberArticle (beta) - InstallShield Wizard"
$cyber1="WARNING: This program is protected by copyright law"
$cyber2="Select CyberArticle edition to install"
$cyber3="License Agreement"
$cyber4="Destination Folder"
$cyber5="Ready to Install the Program"
$cyber6="InstallShield Wizard Completed"


Run("CyberArticle5.exe")

WinWaitActive($cyber0,$cyber1)
ControlClick($cyber0,$cyber1,"Button1")

WinWaitActive($cyber0,$cyber2)
ControlClick($cyber0,$cyber2,"Button5")
ControlClick($cyber0,$cyber2,"Button1")

WinWaitActive($cyber0,$cyber3)
ControlClick($cyber0,$cyber3,"Button3")
ControlClick($cyber0,$cyber3,"Button5")

WinWaitActive($cyber0,$cyber4)
Send("!n")
WinWaitActive($cyber0,$cyber5)
Send("!I")
WinWaitActive($cyber0,$cyber6)
Send("!F")

Run(@ProgramFilesDir & "\Wizissoft\CyberArticle 5\Professional\CyberArticleExpress.exe")

Run("CyberArticle5set.exe")

adsen2009 发表于 2009-6-29 23:05:30

CyberArticle5set.exe为我的配置文件,用P处理完成,不知哪位知道能不能直接用INI格式的配置文件

49666684 发表于 2011-4-17 06:31:47

来学习一下~
页: [1]
查看完整版本: 完美安装和配置CyberArticle5