; ; AutoHotkey Version: 1.x ; Language: English ; Platform: Win9x/NT ; Author: A.N.Other ; ; Script Function: ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder) ; if not A_IsAdmin { Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+ ExitApp } ;^!p:: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. ;SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. SetWorkingDir %A_WorkingDir% ;EnvGet, WORK_DIR, RUN_PATH ;******************************************:// ;//******************************************:// ;//OFFICE_2003CN******************************************:// KB2345886: ;Goto,KB2345886_X ;//******************************************:// global title,include_txt run,%1%\update.exe RegRead, lang, HKEY_LOCAL_MACHINE, SYSTEM\CurrentControlSet\Control\Nls\Language, Default ;MsgBox, lang is: %lang% if (lang = 0804) { title := "软件更新安装向导" include_txt := "Windows XP 更新 (KB2345886)" }else if( lang = 0411 ) { title := "ソフトウェア更新のインストール ウィザード" include_txt := "Windows XP 更新 (KB2345886)" }else if( lang = 0412 ) { title := "소프트웨어 업데이트 설치 마법사" include_txt := "Windows XP용 업데이트 (KB2345886)" } WinWaitAndClikButton2(title,"Button3",2,include_txt) if (lang = 0804) { title := "软件更新安装向导" include_txt := "请阅读下列许可协议。要继续安装,您必须接受此协议。" }else if( lang = 0411 ) { title := "ソフトウェア更新のインストール ウィザード" include_txt := "次の使用許諾契約書をお読みください。続行するには、使用許諾契約書に同意する必要があります。" }else if( lang = 0412 ) { title := "소프트웨어 업데이트 설치 마법사" include_txt := "다음 사용권 계약을 자세히 읽어주십시오. 계약에 동의해야만 설치를 계속할 수 있습니다." } ControlCheck(title,"Button2",include_txt) WinWaitAndClikButton(title,"Button8",include_txt) if (lang = 0804) { title := "软件更新安装向导" include_txt := "您已成功完成 KB2345886 安装向导。" }else if( lang = 0411 ) { title := "ソフトウェア更新のインストール ウィザード" include_txt := "KB2345886 セットアップ ウィザードを完了しました。 " }else if( lang = 0412 ) { title := "소프트웨어 업데이트 설치 마법사" include_txt := "KB2345886 설치 마법사를 완료했습니다." } ControlCheck(title,"Button1",include_txt) WinWaitAndClikButton(title,"Button17",include_txt) exit 0 #include BUTTON_LIB.ahk