; Varija2K.inf ver 2002.03.04
; Генади Атанасов -Инжинера, http://free.hit.bg/injinera
; (Tray to) Remove  the fucken Datecs 2k

[version]
Signature   = "$Windows NT$"
ClassGUID   = {00000000-0000-0000-0000-000000000000}
AdvancedINF =2.5, "%ERROR_WRONG_ADVPACK_VERSION%"
layout file = layout.inf

[DefaultInstall]
DelFiles  =DLLCASHE.DEL , System32.del 
DelReg    =REG.REM , KBGL_REG.REM
AddReg     =USA_KBD.REG,SHOW.REG,Restore1.Reg
Reboot = 1

[SHOW.REG]  ;това чудо преинсталира езиците с всичкото им
            ;---------------------------------------------            
HKLM,%Key_Setup%,"Поздрави на всички",,
HKLM,%Key_Setup%,"Генади Атанасов - Инжинера",,
HKLM,%Key_Setup%,"- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",,
HKLM,%Key_Setup%,"ПЪЛЕН ДЕИНСТАЛАТОР ЗА ФЛЕКС ТАЙП 2К",,
HKLM,%Key_Setup%,%******************************************%,,
HKLM,%Key_Setup%,"Reinstall originall Setings and files of":
HKLM,%Key_Setup%,%TXT1%,2,"%11%\rundll32.exe %11%\advpack.dll,LaunchINFSection %17%\intl.inf,LG_INSTALL_1,,"
HKLM,%Key_Setup%,%TXT2%,2,"%11%\rundll32.exe %11%\advpack.dll,LaunchINFSection %17%\intl.inf,LG_INSTALL_2,,"
HKLM,%Key_Setup%,%TXT5%,2,"%11%\rundll32.exe %11%\advpack.dll,LaunchINFSection %17%\intl.inf,LG_INSTALL_5,,"

[Restore1.Reg]
HKLM,%KKBD%00000402,"Layout Text",,"Bulgarian"
HKLM,%KNLS%CodePage,OEMCP,,855     ; ** Serbian(Cyrillic) - за Bulgarian e 866
HKLM,%KNLS%Language,Default,,0c1A  ; ** Serbian(Cyrillic) - за Bulgarian e 0402
HKLM,%KVNT_KVR%FontSubstitutes,"Tms Rmn",,"MS Serif"         ;тук пък, защо са пипали тъпанарите
HKLM,%KVNT_KVR%FontSubstitutes,"Tms Rmn,0",,"MS Serif,204"   ; и сами не знаят вероятно
HKLM,"%KVNT_KVR%Perflib\01A"   ; не знам го за какво е


[REG.REM]
HKLM,"SOFTWARE\DATECS ltd"
HKLM,%KNLS%CodePage,856,,     ; дефинират кодова страница и даже я сочат за дефолт
HKLM,%KNLS%CodePage,Default,, ; ей тука сочеха техният файл C_856.NLS
                              ; Успешно деинсталиран ли? Да вземеш едно паве, не, по-добре две....  

[KBGL_REG.REM]
HKLM,%KKBD% ; с едно докосване изтриваме всякакви регистрации на клавиатурни подредби,
            ; преинсталацията на езиците ще въстанови и тях

[USA_KBD.REG]
HKLM,%KKBD%00000409,"Layout File",,KBDUS.DLL ; качваме УСАта за всеки случай, че без нито една 
HKLM,%KKBD%00000409,"Layout Text",,US        ; клавиатура не стартира, ако не посочи инсталационните
                                             ; файлове, майка плаче.(Ю Ес Ей се казва бе, инжИнер такъв)
[DestinationDirs]
System32.del    = 11
DLLCASHE.DEL    = 11,dllcache ; Ако някой има пищов по INF файлове, да ми го прати.


[System32.del]
c_856.nls	; гадината!!!
vga856.fon	; не им е напълно ясно кое как работи и къде да бъде
kbdus.kbd       ; това NT, 2000 или XP въобще не го приема. Думата е "цвакнато"
newdll.dll	; *по домакинска книжка, наред макар,
kbd101.dll	; *че ако работи System Files Protection
kbd101a.dll	; *за kbd*.dll няма нужда
kbd106n.dll
kbda1.dll
kbda2.dll
kbda3.dll
kbdal.dll
kbdarme.dll
kbdarmw.dll
kbdax2.dll
kbdazel.dll
kbdcr.dll
kbdcz.dll
kbdcz1.dll
kbdcz2.dll
kbdest.dll
kbdfa.dll
kbdgeo.dll
kbdgkl.dll
kbdhe.dll
kbdhe220.dll
kbdhe319.dll
kbdheb.dll
kbdhela2.dll
kbdhela3.dll
kbdhept.dll
kbdhu.dll
kbdhu1.dll
kbdibm02.dll
kbdindev.dll
kbdinhin.dll
kbdinmar.dll
kbdintam.dll
kbdlk41a.dll
kbdlk41j.dll
kbdlt.dll
kbdlt1.dll
kbdlv.dll
kbdlv1.dll
kbdnec.dll
kbdnec95.dll
kbdnecat.dll
kbdnecnt.dll
kbdpl.dll
kbdpl1.dll
kbdro.dll
kbdsl.dll
kbdsl1.dll
kbdth0.dll
kbdth1.dll
kbdth2.dll
kbdth3.dll
kbdtuf.dll
kbdtuq.dll
kbdusa.dll
kbdvntc.dll
kbdycl.dll


[DLLCASHE.DEL]  ; по домакинска книжка, наред
kbd101.dll
kbd101a.dll
kbd106n.dll
kbda1.dll
kbda2.dll
kbda3.dll
kbdal.dll
kbdarme.dll
kbdarmw.dll
kbdax2.dll
kbdazel.dll
kbdcr.dll
kbdcz.dll
kbdcz1.dll
kbdcz2.dll
kbdest.dll
kbdfa.dll
kbdgeo.dll
kbdgkl.dll
kbdhe.dll
kbdhe220.dll
kbdhe319.dll
kbdheb.dll
kbdhela2.dll
kbdhela3.dll
kbdhept.dll
kbdhu.dll
kbdhu1.dll
kbdibm02.dll
kbdindev.dll
kbdinhin.dll
kbdinmar.dll
kbdintam.dll
kbdlk41a.dll
kbdlk41j.dll
kbdlt.dll
kbdlt1.dll
kbdlv.dll
kbdlv1.dll
kbdnec.dll
kbdnec95.dll
kbdnecat.dll
kbdnecnt.dll
kbdpl.dll
kbdpl1.dll
kbdro.dll
kbdsl.dll
kbdsl1.dll
kbdth0.dll
kbdth1.dll
kbdth2.dll
kbdth3.dll
kbdtuf.dll
kbdtuq.dll
kbdusa.dll
kbdvntc.dll
kbdycl.dll

[Strings]
KKBD   ="SYSTEM\CurrentControlSet\Control\Keyboard Layouts\"
KNLS    = "SYSTEM\CurrentControlSet\Control\Nls\"
KVNT_KVR   ="SOFTWARE\Microsoft\Windows NT\CurrentVersion\"
SMWCV="Software\Microsoft\Windows\CurrentVersion"
Key_Setup = "Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup"

;Visible strings
TXT1 = "Language Group - Western Europe and US"
TXT2 = "Language Group - Central Europe"
TXT5 = "Language Group - Cyrillic"

;Localisable
ERROR_WRONG_ADVPACK_VERSION = "Брато, това NT хич не е кърпено, трябва ти нов Advpack.dll."
;-------------------- К Р А Й -------------------------------