nekin 发表于 2010-2-23 13:54:27

Notepad++V5.4.5 自动安装脚本

Run("npp.5.4.5.Installer.exe")
WinWaitActive("Installer Language","Please select a language.")
ControlClick("Installer Language","Please select a language.","")

WinWaitActive("Notepad++ v5.4.5 Setup","Welcome to the Notepad++ v5.4.5 Setup Wizard")
ControlClick("Notepad++ v5.4.5 Setup","Welcome to the Notepad++ v5.4.5 Setup Wizard","")

WinWaitActive("Notepad++ v5.4.5 Setup","License Agreement")
ControlClick("Notepad++ v5.4.5 Setup","License Agreement","")

WinWaitActive("Notepad++ v5.4.5 Setup","Choose Install Location")
ControlClick("Notepad++ v5.4.5 Setup","Choose Install Location","")

WinWaitActive("Notepad++ v5.4.5 Setup","Choose Components")
ControlClick("Notepad++ v5.4.5 Setup","Choose Components","")

WinWaitActive("Notepad++ v5.4.5 Setup","Completing the Notepad++ v5.4.5 Setup Wizard")
ControlClick("Notepad++ v5.4.5 Setup","Completing the Notepad++ v5.4.5 Setup Wizard","")

WinWaitActive("Notepad++ update","An update package is available, do you want to download it?")
ControlClick("Notepad++ update","An update package is available, do you want to download it?","")

WinWaitActive("E:\Program Files (x86)\Notepad++\change.log - Notepad++")
ProcessClose("Notepad++.exe")

冲盈 发表于 2010-2-23 15:40:52

抢个沙发坐坐。先回复,再看贴,
页: [1]
查看完整版本: Notepad++V5.4.5 自动安装脚本