; ; 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******************************************:// SERVICE_END: ;Goto,SERVICE_END_X ;//******************************************:// global title,include_txt run,C:\netinst\wgasetup.exe RegRead, lang, HKEY_LOCAL_MACHINE, SYSTEM\CurrentControlSet\Control\Nls\Language, Default ;MsgBox, lang is: %lang% if (lang = 0804) { title := "Windows 正版增值计划通知 - 安装向导" include_txt := "Windows 正版增值计划通知是 Microsoft " }else if( lang = 0411 ) { title := "Windows Genuine Advantage Notifications - インストール ウィザード" include_txt := "WGA Notifications の概要 (オンライン)" }else if( lang = 0412 ) { title := "Windows 정품 혜택 알림 - 설치 마법사" include_txt := "WGA 알림이란 무엇입니까? (온라인)" } WinWaitAndClikButton(title,"Button3",include_txt) if (lang = 0804) { title := "Windows 正版增值计划通知 - 许可协议" include_txt := "请阅读下列许可协议。要继续安装,您必须接受此协议。" }else if( lang = 0411 ) { title := "Windows Genuine Advantage Notifications - 使用許諾契約書" include_txt := "以下の使用許諾契約書をお読みください。セットアップを続行するには、この契約書に同意する必要があります。" }else if( lang = 0412 ) { title := "Windows 정품 혜택 알림 - 사용권 계약" include_txt := "다음 사용권 계약을 읽어보십시오. 설치를 계속하려면 계약에 동의해야 합니다." } ControlCheck(title,"Button2",include_txt) WinWaitAndClikButton(title,"Button7",include_txt) if (lang = 0804) { title := "Windows 正版增值计划通知" include_txt := "如果单击“取消”按钮,此程序的安装将终止,将不安装此更新。" }else if( lang = 0411 ) { title := "Windows Genuine Advantage Notifications" include_txt := "[キャンセル] ボタンをクリックすると、このプログラムのインストールは中止され、この更新プログラムはインストールされなくなります。" }else if( lang = 0412 ) { title := "Windows 정품 혜택 알림" include_txt := "[취소] 단추를 클릭하면 이 프로그램 설치가 종료되고 업데이트가 설치되지 않습니다." } WinWaitAndClikButton(title,"Button10",include_txt) exit 0 #include BUTTON_LIB.ahk