[Main]
Title=KeyBoard
Type=Plugin
Author=ChrisR
Description=KeyBoard for Win7PE, you can not run this Plugin directly.
Credits=http://TheOven.org
Version=006
Download_Level=0
Level=0
Selected=False
Mandatory=False
NoWarning=False
Contact=http://TheOven.org
Date=2017.02.18
Depend=
Disable=
Web1=http://w7pese.cwcodes.net/Projects/Win7PESE/Build/KeyBoard.script
CertifiedBy=
Certification=
HistoryNotes01=To add a choice, add the choice to config Plugin and change KeyBoard Plugin: New section eg: [fr-FR] and change section Run_KeyBoard_Choice.
HistoryNotes02=To switch between visible/nonevisible change Level=1 Level=0
HistoryNotes03=Variables are not used if the Plugin is called from another Plugin. Use Set,%variable%,""
History003=ChrisR - Add Keyboard dll files, if does not already exist, according to the Registry for specified language - Date:2013.03.27
History005=Lancelot - Added DU Buttons - Date:2016.01.28
History006=Lancelot - Add Compare Button - Date:2017.02.18

[Info]
The Plugin is designed to be called from other Plugin (eg: 1 - Copy Files) or if Not Auto directly
If,ExistFile,%ProjectDir%\Build\KeyBoard.script,Run,%ProjectDir%\Build\KeyBoard.script,Called_process,%ProjectDir%\Build\KeyBoard.script,Auto
If,ExistFile,%ScriptDir%\KeyBoard.script,Run,%ScriptDir%\KeyBoard.script,Called_process,%ScriptDir%\KeyBoard.script,Auto
If,ExistFile,%ScriptDir%\KeyBoard.script,Run,%ScriptDir%\KeyBoard.script,Called_process,%ScriptDir%\KeyBoard.script,fr-FR

[Variables]

[Interface]
pTextLabel1="The Plugin is designed to be called from other Plugin",1,1,8,20,315,18,8,Bold
pTextL_KeyBoard=KeyBoard,1,1,8,59,76,18,8,Normal
pScroll_KeyBoard=Auto,1,4,102,52,350,21,Auto,"Belgian French",French,German,Greek,Hebrew,Hungarian,Italian,Portuguese,Russian,Spanish,Swedish,Turkish,"UK English"
WebLabel_Plugin="Plugin Page",1,10,338,4,55,18,http://TheOven.org/index.php?board=9
Button_Download=,1,8,403,21,24,24,DownloadXXX,DoubleJDesignRavenna3dArrowDown0016016.bmp,False,False,_DownloadXXX_,False,"__DOWNLOAD Plugin"
Button_Upload=,1,8,403,-1,24,24,UploadXXX,BokehliciaCaptivaSoftwareupload0016016.bmp,False,False,_UploadXXX_,False,"__UPLOAD Plugin (Admins Only)"
Button_CompareEdit=,1,8,426,-1,24,24,CompareEditXXX,AmperossQetto2Move0016016.bmp,False,False,_CompareEditXXX_,False,"__DOWNLOAD and Compare with an Editor"

[Called_process]
Set,%KeyBoardScript%,#1
If,-#1,Equal,-,Set,%KeyBoardScript%,%ScriptFile%
Set,%KeyBoard%,#2
//--
IniRead,%ProjectDir%\script.project,IniVariables,NoWarnRegOverWrite,%NoWarnROW%
//-
Echo,"Processing KeyBoard %KeyBoard%..."
If,%KeyBoard%,Equal,Auto,Run,%KeyBoardScript%,Auto
Else,If,Not,-%KeyBoard%,Equal,-,Run,%KeyBoardScript%,Run_KeyBoard_Choice

[Process]
// Comment Exit for tests
Exit,"The Plugin is designed to be called from other Plugin"
Set,%KeyBoardScript%,%ScriptFile%
Set,%KeyBoard%,%pScroll_KeyBoard%
//--
IniRead,%ProjectDir%\script.project,IniVariables,NoWarnRegOverWrite,%NoWarnROW%
//-
Echo,"Processing KeyBoard %KeyBoard%..."
If,%KeyBoard%,Equal,Auto,Run,%KeyBoardScript%,Auto
Else,If,Not,-%KeyBoard%,Equal,-,Run,%KeyBoardScript%,Run_KeyBoard_Choice

[Run_KeyBoard_Choice]
RegHiveLoad,Tmp_Default,%RegDefault%
If,%KeyBoard%,Equal,"Belgian French",Run,%KeyBoardScript%,fr-BE
If,%KeyBoard%,Equal,French,Run,%KeyBoardScript%,fr-FR
If,%KeyBoard%,Equal,Hebrew,Run,%KeyBoardScript%,he-IL
If,%KeyBoard%,Equal,German,Run,%KeyBoardScript%,de-DE
If,%KeyBoard%,Equal,Greek,Run,%KeyBoardScript%,el-GR
If,%KeyBoard%,Equal,Hungarian,Run,%KeyBoardScript%,hu-HU
If,%KeyBoard%,Equal,Italian,Run,%KeyBoardScript%,it-IT
If,%KeyBoard%,Equal,Portuguese,Run,%KeyBoardScript%,pt-PT
If,%KeyBoard%,Equal,Russian,Run,%KeyBoardScript%,ru-RU
If,%KeyBoard%,Equal,Spanish,Run,%KeyBoardScript%,es-ES
If,%KeyBoard%,Equal,Swedish,Run,%KeyBoardScript%,sv-SE
If,%KeyBoard%,Equal,Turkish,Run,%KeyBoardScript%,tr-TR
If,%KeyBoard%,Equal,"UK English",Run,%KeyBoardScript%,en-GB
// Auto: If exists in local archive (**temporary solution)
If,%KeyBoard%,Equal,Auto,If,ExistSection,%KeyBoardScript%,%DistLang%,Run,%KeyBoardScript%,%DistLang%
// Add Keyboard dll files, if does not already exist, according to the Registry for specified language
Run,%KeyBoardScript%,Auto
RegHiveUnLoad,Tmp_Default

[minimum_KBD_tr-TR]
//not mandatory but better have minimum keyboards of local source too
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDTUQ.DLL,FileCopy,%BootSRC%\Windows\System32\KBDTUQ.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDTUF.DLL,FileCopy,%BootSRC%\Windows\System32\KBDTUF.DLL,%TargetDir%\Windows\System32

[minimum_KBD_fr-FR]
//not mandatory but better have minimum keyboards of local source too
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDFR.DLL,FileCopy,%BootSRC%\Windows\System32\KBDFR.DLL,%TargetDir%\Windows\System32

[minimum_KBD_hu-HU]
//not mandatory but better have minimum keyboards of local source too
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDUS.DLL,FileCopy,%BootSRC%\Windows\System32\KBDUS.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDHU.DLL,FileCopy,%BootSRC%\Windows\System32\KBDHU.DLL,%TargetDir%\Windows\System32

[minimum_KBD_ru-RU]
//Thanks to GrAnd
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDUS.DLL,FileCopy,%BootSRC%\Windows\System32\KBDUS.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDRU.DLL,FileCopy,%BootSRC%\Windows\System32\KBDRU.DLL,%TargetDir%\Windows\System32

[Auto]
RegHiveLoad,Tmp_System,%RegSystem%
//
// Copy up to three default keyboard layout DLLs
Loop,%KeyBoardScript%,CopyKeyboardDLL,1,3
//
//RegWrite,HKLM,0x1,"Tmp_default\Keyboard Layout\Toggle",Hotkey,2
//RegWrite,HKLM,0x1,"Tmp_default\Keyboard Layout\Toggle","Language Hotkey",2
//RegWrite,HKLM,0x1,"Tmp_default\Keyboard Layout\Toggle","Layout Hotkey",3
//
RegHiveUnLoad,Tmp_System

[CopyKeyboardDLL]
// #c is the number of the keyboard layout, starting with 1.
If,ExistRegKey,HKLM,"Tmp_default\Keyboard Layout\Preload",#c,Begin
RegRead,HKLM,"Tmp_default\Keyboard Layout\Preload",#c,%LVAR%
If,ExistRegKey,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%LVAR%","Layout File",Begin
RegRead,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%LVAR%","Layout File",%LVARFile%
If,Not,ExistFile,%TargetDir%\Windows\System32\%LVARFile%,Begin
If,ExistFile,%BootSRC%\Windows\System32\%LVARFile%,FileCopy,%BootSRC%\Windows\System32\%LVARFile%,%TargetDir%\Windows\System32
End
End
//- Substitutes
If,ExistRegKey,HKLM,"Tmp_default\Keyboard Layout\Substitutes",%LVAR%,Begin
RegRead,HKLM,"Tmp_default\Keyboard Layout\Substitutes",%LVAR%,%LVARSub%
If,ExistRegKey,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%LVARSub%","Layout File",Begin
RegRead,HKLM,"Tmp_System\ControlSet001\Control\Keyboard Layouts\%LVARSub%","Layout File",%LVARSubFile%
If,Not,ExistFile,%TargetDir%\Windows\System32\%LVARSubFile%,Begin
If,ExistFile,%BootSRC%\Windows\System32\%LVARSubFile%,FileCopy,%BootSRC%\Windows\System32\%LVARSubFile%,%TargetDir%\Windows\System32
End
End
End
End

[it-IT]
// Italian by online
Echo,"Processing Italian KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDIT.DLL,FileCopy,%BootSRC%\Windows\System32\KBDIT.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","00000410"
//RegDelete,HKLM,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409",""
If,ExistRegSection,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409,RegDelete,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000410\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000410\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000410\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","68158480"

[en-GB]
// UK English by martinr
Echo,"Processing UK KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDUK.DLL,FileCopy,%BootSRC%\Windows\System32\KBDUK.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDUKX.DLL,FileCopy,%BootSRC%\Windows\System32\KBDUKX.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","00000809"
//RegDelete,HKLM,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409",""
If,ExistRegSection,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409,RegDelete,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000809\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000809\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000809\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","0x08090809"

[tr-TR]
// turkish by Max_Real Qnx
Echo,"Processing turkish KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDTUQ.DLL,FileCopy,%BootSRC%\Windows\System32\KBDTUQ.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDTUF.DLL,FileCopy,%BootSRC%\Windows\System32\KBDTUF.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDUK.DLL,FileCopy,%BootSRC%\Windows\System32\KBDUK.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDUKX.DLL,FileCopy,%BootSRC%\Windows\System32\KBDUKX.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","0000041f"
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","2","00000409"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000041f\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000041f\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000041f\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","69141535"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","67699721"

[ru-RU]
// Russian by NightMan
Echo,"Processing Russian KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDUS.DLL,FileCopy,%BootSRC%\Windows\System32\KBDUS.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDRU.DLL,FileCopy,%BootSRC%\Windows\System32\KBDRU.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","00000409"
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","2","00000419"
//RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Toggle","Hotkey","2"
//RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Toggle","Language Hotkey","2"
//RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Toggle","Layout Hotkey","3"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000419\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000419\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000419\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","68748313"

[el-GR]
// greek by Larryg4
Echo,"Processing greek KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDGKL.DLL,FileCopy,%BootSRC%\Windows\System32\KBDGKL.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","00000409"
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","2","00000408"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000408\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000408\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000408\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","67634184"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","67699721"

[de-DE]
// german by NightMan
Echo,"Processing german KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDGR.DLL,FileCopy,%BootSRC%\Windows\System32\KBDGR.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDGR1.DLL,FileCopy,%BootSRC%\Windows\System32\KBDGR1.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","00000407"
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","2","00000409"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000407\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000407\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000407\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","67568647"

[fr-FR]
// french by cyberyeye
Echo,"Configuration du clavier en Français..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDFR.DLL,FileCopy,%BootSRC%\Windows\System32\KBDFR.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,Tmp_Default\Keyboard Layout\Preload,1,0000040c
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040c\{34745C63-B2F0-4784-8B67-5E12C8701A31},Default,{00000000-0000-0000-0000-000000000000}
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040c\{34745C63-B2F0-4784-8B67-5E12C8701A31},Profile,{00000000-0000-0000-0000-000000000000}
RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040c\{34745C63-B2F0-4784-8B67-5E12C8701A31},KeyboardLayout,67896332

[es-ES]
// Spanish by hectorma
Echo,"Processing Spanish KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDLA.DLL,FileCopy,%BootSRC%\Windows\System32\KBDLA.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDSP.DLL,FileCopy,%BootSRC%\Windows\System32\KBDSP.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","00000c0a"
//RegDelete,HKLM,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000c0a",""
If,ExistRegSection,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000c0a,RegDelete,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000c0a
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000c0a\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000c0a\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000c0a\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","67767306"

[sv-SE]
// Swedish by Virtual-R
Echo,"Processing Swedish KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDSW.DLL,FileCopy,%BootSRC%\Windows\System32\KBDSW.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","0000041d"
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","2","00000409"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000041d\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000041d\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000041d\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","69010461"

[pt-PT]
// Portuguese by Rui Paz
Echo,"Processing Portuguese KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDPO.DLL,FileCopy,%BootSRC%\Windows\System32\KBDPO.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","00000816"
//RegDelete,HKLM,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000816",""
If,ExistRegSection,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000816,RegDelete,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000816
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000816\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000816\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000816\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","135661590"

[fr-BE]
// Belgian by ADB
Echo,"Configuration du clavier en Français-Belge..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDBE.DLL,FileCopy,%BootSRC%\Windows\System32\KBDBE.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload","1","0000080c"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000080c\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Default","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x1,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000080c\{34745C63-B2F0-4784-8B67-5E12C8701A31}","Profile","{00000000-0000-0000-0000-000000000000}"
RegWrite,HKLM,0x4,"Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000080c\{34745C63-B2F0-4784-8B67-5E12C8701A31}","KeyboardLayout","135006220"

[he-IL]
// Hebrew Aviv - by agrafi
Echo,"Processing Hebrew KeyBoard..."
FileCopy,%BootSRC%\Windows\System32\KBD*.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload",1,00000409
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload",2,0000040d
If,ExistRegSection,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409,RegDelete,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31},Default,{00000000-0000-0000-0000-000000000000}
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31},Profile,{00000000-0000-0000-0000-000000000000}
RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409\{34745C63-B2F0-4784-8B67-5E12C8701A31},KeyboardLayout,4090409
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040d\{34745C63-B2F0-4784-8B67-5E12C8701A31},Default,{00000000-0000-0000-0000-000000000000}
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040d\{34745C63-B2F0-4784-8B67-5E12C8701A31},Profile,{00000000-0000-0000-0000-000000000000}
RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040d\{34745C63-B2F0-4784-8B67-5E12C8701A31},KeyboardLayout,67961869

[hu-HU]
// Hungarian by Dera
Echo,"Processing Hungarian KeyBoard..."
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDUS.DLL,FileCopy,%BootSRC%\Windows\System32\KBDUS.DLL,%TargetDir%\Windows\System32
If,Not,ExistFile,%TargetDir%\Windows\System32\KBDHU.DLL,FileCopy,%BootSRC%\Windows\System32\KBDHU.DLL,%TargetDir%\Windows\System32
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload",1,0000040e
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Preload",2,00000409
RegWrite,HKLM,0x1,"Tmp_Default\Keyboard Layout\Substitutes",00000409,00020409
If,ExistRegSection,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409,RegDelete,HKLM,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x00000409
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040e\{34745C63-B2F0-4784-8B67-5E12C8701A31},Default,{00000000-0000-0000-0000-000000000000}
RegWrite,HKLM,0x1,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040e\{34745C63-B2F0-4784-8B67-5E12C8701A31},Profile,{00000000-0000-0000-0000-000000000000}
RegWrite,HKLM,0x4,Tmp_Default\Software\Microsoft\CTF\Assemblies\0x0000040e\{34745C63-B2F0-4784-8B67-5E12C8701A31},KeyboardLayout,0x040e040e

[AuthorEncoded]
KeyBoard.jpg=2532,3376
Logo=KeyBoard.jpg

[EncodedFile-AuthorEncoded-KeyBoard.jpg]
lines=0
0=eJylk3lU01cWx39JWBWmEHYQwpKyySISzQgxKFuAEKwKCEaIgOwCBdlJCVDZZdWCUEVQEWVThABSJKyxKi6QgBCESIIgAiURocGQZGJnpvPP/DFnet+5733fuffcdz73nieaEr0DFNycXZ0BEAgEnBUvQDQPhDklh4cAAA4HmAIAIANIgDQBSbECiR0N0vpTO4OMAcgfWryDrACwWEPF7gH8YZdvAQDkw7/P7wLCo+MtPJw8dROtLQ5YWO0DRDOAw9d3/5J9LfJXa4BE/YCiDAADHCEgfQCsCIIogkTD4jsAkvxnAvAvA4EhEpJS0jKyu3aLE8gKABgEgYAlIJKSEhLi6A/iOCChKAnVszoqpXQ8QFo/Vnl/ZlmdjIF924DKiTEO3DowLkt2l6qauobmt4ZGxiamiAMHkX8/ZOPg6O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LBxVbNQI2peSiWLD1ndfm8BGGcqYtyySZJfVFJMT1YTjcVuEZWoU0mpU5TPLN8epH6kTDiUWeM43fU/YsYHAAulti1XcraKTOrGBi2dIYexRC6waf6b4QrXAVpC1gxP3mUZDaxN9RUBOJ0ebWYgKTmO5nuzvI5Kghlg/OV6oh8vsEqd+fXo0v6V+2SdmYc7b/qWmpdFZ6fflH2wZhy2FCi+UZ8kzKy0mNaMp1URG80NM4Kstue3Ye/iz6ldHw1oVDBXSa9MHCOSk1XW+bbI0tZOgSgq0A4hpfVxq221e4dDplxRYRmswZ7G0Wtk7192LC/txM+1i8WLQ1nRgR/Wk/qhD3WXLM0lr+a3C/uqGVS5Hn7YVxhlZyhYe8P2o2rZzirtrgP3uS+cVFLKRPCwvAmTNFxh4GM9F65gB38L9JwfTRipcfru4y7tsOT9IZWL4JOZunveazqYfYuIaFe4j+bpTPWOvDDga9j3APAD8oMIPJeJ5Cdwu9svHbGbODamdwxyHwTepRjmID0TI/NXPPog021lr586uPnoL67UZQnCI4HVN61EWfrsvCHkdXlJxszdmiCCLSmKn4WfxA1/wkQyvx9u0BcqN4+Pxy/Kr3t6nrO2jNrXd5t7l3folw6ygSEkKBDN9Vg+QRNP/AA4ZwL54nOPxTq10yk8sStHLKkhnGAUjDTRzQegZnNjlDbfv3s7ABADbXQgXDaZgGwEAAAACAAAAKAAAAJgJAAAAAAAAAQAAAAAAAAAAAAAA

[DownloadXXX]
Call,DownloadXQ

[UploadXXX]
Call,UploadXMultiQ,,%ProjectDir%\Utils\WebRoots_SE.Script||WebRoot

[Settings_Default]
IniWrite,%ScriptFile%,Main,Level,0

[InterfaceEncoded]
DoubleJDesignRavenna3dArrowDown0016016.bmp=622,830
BokehliciaCaptivaSoftwareupload0016016.bmp=676,902
AmperossQetto2Move0016016.bmp=893,1191

[EncodedFile-InterfaceEncoded-DoubleJDesignRavenna3dArrowDown0016016.bmp]
lines=0
0=eJzNk09Ik2Ecxw06BF2KqG5ih1EgYZZu7+v7vnu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