Run("Setup.exe")
WinWaitActive("InstallShield Wizard","歡迎使用 Dr.eye 譯典通 7.0 專業版")
Send("!n") ;Welcome
WinWaitActive("InstallShield Wizard","授權合約")
Send("!y") ;接受合約
WinWaitActive("InstallShield Wizard","客戶資訊")
Send("!u") ;使用者名稱
Send("user1")
Send("!c") ;公司名稱
Send("company1")
Send("!s") ;序號
Send("HZVAYR-VYSKNY-JBIYGY-KZMHAS")
Send("!n")
WinWaitActive("InstallShield Wizard","選擇程式資料夾")
Send("!n")
WinWaitActive("InstallShield Wizard","選擇目的地位置")
Send("!n")
WinWaitActive("InstallShield Wizard","安裝類型")
Send("!n")

WinWaitActive("InstallShield Wizard","下面安裝精靈將安裝譯典通辭典和辭書")
Send("!n")
WinWaitActive("InstallShield Wizard","選擇目的地位置")
Send("!n")
WinWaitActive("InstallShield Wizard","選擇元件")
Send("!n")
WinWaitActive("InstallShield Wizard","InstallShield Wizard 完成")
Send("{SPACE}")
WinWaitActive("問題")
Send("!n")
WinWaitActive("InstallShield Wizard","不,稍後再重新啟動電腦。")
Send("{TAB}")
Send("{SPACE}")

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Inventec\DreyePSH",
"HttpTitle","REG_SZ","http://www.dreye.com/tw/")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Inventec\DreyePSH",
"BaseUrl","REG_SZ","http://www.dreye.com/tw/register/adduser.phtml?")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Inventec\DreyePSH",
"RegFlag","REG_DWORD","0x00000001")
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Inventec\DreyePSH",
"PushNumber","REG_DWORD","0x00000001")

Run("PATCH\dreye7patch.exe")
WinWaitActive("","歡迎")
Send("{SPACE}")
WinWaitActive("","資訊")
Send("{SPACE}")
WinWaitActive("","目錄")
Send("!n")
WinWaitActive("","確認")
Send("!s")
WinWaitActive("","結束")
Send("!x")

EXIT
創作者介紹

創造心理的感動

gisanfu 發表在 痞客邦 PIXNET 留言(0) 人氣()