Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Setup script for Whistler Setup. // // Setup program assumes that setup program and script file has same file body name. That is, if setup // program is named "setup.exe", script file name must be "setup.inf", if setup program is named // "wissetup.exe", script file name must be "wissetup.inf", and so on. // // - We have some commands as used below. For detail usage about each command, please refer comment at // where each command is used. // - Some commands have call sequence restriction. Also these information is provided in below comments. // - We can use common environment variable in command argument for file path. Also, Following additional // environment variable are defined by setup program: // - SETUPSOURCE: refers to directory in where setup program resides. // - SETUPEXE: refers to file name (not full path) for setup program. // - SETUPINF: refers to file name (not full path) for setup inf file. // - SYSTEMDIR: refers to system directory.
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Turn on error logging. Basically we have to remove all errors in script.
// ErrorLogOn:
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Initialize setup program. For example, setup current package version of this setup.
SetupDefaultParameters: // SetVersion:6.1.0.2412
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Add source file path to FileList. // Syntax: // FileList:<SourceFilePath> // Imkrinst.exe does nothing with FileList now.
// Files to be installed into system directory. FileList:%SYSTEMDIR%\imekr61.IME
// Files to be installed into Help directory. FileList:%WINDIR%\ime\imkr6_1\help\imkr61.chm FileList:%WINDIR%\ime\imkr6_1\help\imkren61.chm FileList:%WINDIR%\ime\imkr6_1\help\korpaden.chm FileList:%WINDIR%\ime\imkr6_1\help\impdko61.chm FileList:%WINDIR%\ime\imkr6_1\help\imkr61.hlp FileList:%WINDIR%\ime\imkr6_1\help\imkren61.hlp
// Files to be installed into IMKR6_1 directory. FileList:%WINDIR%\ime\imkr6_1\imekrcic.dll
// Files to be installed into Dicts directory. FileList:%WINDIR%\ime\imkr6_1\Dicts\hanja.lex FileList:%WINDIR%\ime\imkr6_1\Dicts\imekr.lex FileList:%WINDIR%\ime\imkr6_1\Dicts\hanja.dll
// Files to be installed into Applets directory. FileList:%WINDIR%\ime\imkr6_1\Applets\imekrmbx.dll FileList:%WINDIR%\ime\imkr6_1\Applets\hwxkor.dll
// Shared Files FileList:%WINDIR%\ime\Shared\imlang.dll FileList:%WINDIR%\ime\Shared\imepadsv.exe FileList:%WINDIR%\ime\Shared\imepadsm.dll FileList:%WINDIR%\ime\Shared\imepaden.hlp FileList:%WINDIR%\ime\Shared\Res\padrs412.dll
// Per user setup - migrations FileList:%WINDIR%\ime\imkr6_1\imekrmig.exe
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Terminate setup if newer version of product has already been installed. // If we use this command, we have to run <SetupDefaultParameters> and all <FileList> command before it. PreSetupCheck:
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Some per system setup ///////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Create dir // //CreateDirectory: %WINDIR%\IME //CreateDirectory: %WINDIR%\IME\IMKR6_1
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Syntax: RegisterIMEandTIP: <Full path to IME file>, <Full path of TIP file>, <Wow64 TIP file> // Wow64 TIP registration: If run on 32bit, it'll be ignored RegisterIMEandTIP: %SYSTEMDIR%\imekr61.ime, %WINDIR%\ime\imkr6_1\imekrcic.dll, %WINDIR%\ime (x86)\imkr6_1\imekrcic.dll
//////////////////////////////////////////////////////////////////////////////////////////////////////// RegisterPackageVersion:
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Adjust IMEPad applet order RegisterPadOrder:
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Register help files to Help regs RegisterHelpDirs:
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // Register Interfaces RegisterInterface: %WINDIR%\ime\imkr6_1\Applets\imekrmbx.dll RegisterInterface: %WINDIR%\ime\imkr6_1\Dicts\hanjadic.dll RegisterInterface: %WINDIR%\ime\Shared\imlang.dll RegisterInterface: %WINDIR%\ime\Shared\imepadsv.exe RegisterInterface: %WINDIR%\ime\Shared\imepadsm.dll // Wow64: If run on 32bit, it'll be ignored // Currently imekrmbx.dll and hanjadic.dll are not copied for WOW64. It'll be ignored by imkrinst.exe RegisterInterfaceWow64: %WINDIR%\ime (x86)\imkr6_1\Applets\imekrmbx.dll RegisterInterfaceWow64: %WINDIR%\ime (x86)\imkr6_1\Dicts\hanjadic.dll RegisterInterfaceWow64: %WINDIR%\ime (x86)\Shared\imlang.dll RegisterInterfaceWow64: %WINDIR%\ime (x86)\Shared\imepadsv.exe RegisterInterfaceWow64: %WINDIR%\ime (x86)\Shared\imepadsm.dll
/////////////////////////////////////////////////////////////////////////////////////////////////////////// // PrepareMigration // First, make SID List(make user list for user migration) // Second, Register IMEKRMIG.EXE to run reg Key on "Software\Microsoft\Windows\CurrentVersion\Run" PrepareMigration: IMEKRMIG6.1, %WINDIR%\ime\imkr6_1\IMEKRMIG.EXE
// End of IMKRINST.INI (Do Not Remove last line) ///////////////////////////////////////////////////////////////////////////////////////////////////////////
|