; (c)2003, Киккарин С.М.
; KazWin installation setup for Windows XP
; версия 3.00
; НЕ ИЗМЕНЯЙТЕ ЭТОТ ФАЙЛ! ЭТО ЧРЕВАТО!

[Version]
Signature = "$Windows NT$"
ClassGUID = {00000000-0000-0000-0000-000000000000}

[DestinationDirs]
DefaultDestDir = 11
MS_CopyFonts = 20
TTFonts = 20        
ttfonts.del.files = 20         
KazWin.Copy.Sys = 16422,%AppDir% 
KazWin.Del.Sys = 16422,%AppDir% 

[SourceDisksNames]
77="KazWin 3.0","",1
;
;  List of keyboard specific entries.
;

[DefaultInstall]
CopyFiles=ThisDLL.sys.install,  MS_CopyFonts, KazWin.Copy.Sys, C_1251.sys.install
UpdateInis=KazWinInis
AddReg = ThisDLL.Add.Reg, TTF.Add.Reg, ThisDLL.Uninst.Reg, CPk.Add.Reg

[DefaultUninstall]
DelFiles=ThisDLL.sys.install, KazWin.Del.Sys, C_1251.sys.install
UpdateInis=KazWinInis.Remove
AddREg=CP.Add.Reg
DelReg = ThisDLL.Add.Reg, TTF.Add.Reg, ThisDLL.Uninst.Reg

[ThisDLL.sys.install]
kbdkz1.dll
kbdkz2.dll

[C_1251.sys.install]
rk_1048.nls

[KazWin.Copy.Sys]
sXPRu.inf
readme!.txt
KazWin.hlp
KazWin.cnt

[KazWin.Del.Sys]
sXPRu.inf
readme!.txt
KazWin.hlp
KazWin.cnt
KazWin.GID

[ThisDLL.Uninst.Reg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\KazWin,,,
HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\KazWin,DisplayName,,"KazWin 3.0"
HKLM,SoftWare\Microsoft\Windows\CurrentVersion\Uninstall\KazWin,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %16422%\%AppDir%\sXPRu.inf"

[CPk.Add.Reg]
HKLM,SYSTEM\CurrentControlSet\Control\Nls\CodePage,"1251",%REG_SZ%,"rk_1048.nls"

[CP.Add.Reg]
HKLM,SYSTEM\CurrentControlSet\Control\Nls\CodePage,"1251",%REG_SZ%,"c_1251.nls"

[KazWinInis]
setup.ini, progman.groups,,"GroupAccess=""%16407%\%AppDir%"""
setup.ini,GroupAccess,, """Прочти про KazWin 3.0"", """"""%16422%\%AppDir%\readme!.txt"""""" 
setup.ini, GroupAccess,, """Справки KazWin"", """"""%16422%\%AppDir%\KazWin.hlp"""""" 

[KazWinInis.Remove]
setup.ini, progman.groups,, "GroupAccess=""%16407%\%AppDir%"""
setup.ini, GroupAccess,, """Прочти про KazWin 3.0"", "
setup.ini, GroupAccess,, """Справки KazWin"","

[MS_CopyFonts]
vgasysr.fon,,,12
vgafixr.fon,,,12
sserifer.fon,,,12
serifer.fon,,,12
courer.fon,,,12
smaller.fon,,,12
8514sysr.fon,,,12
8514fixr.fon,,,12
sseriffr.fon,,,12
seriffr.fon,,,12
courfr.fon,,,12
smallfr.fon,,,8

[TTF.Add.Reg]
HKLM,%KEY_REMOVE%\FontSubstitutes,"Arial(K),0",,"Arial,0"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Courier New(K),0",,"Courier New,0"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Times New Roman(K),0",,"Times New Roman,0"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Arial(K),204",,"Arial,204"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Courier New(K),204",,"Courier New,204"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Times New Roman(K),204",,"Times New Roman,204"

HKLM,%KEY_REMOVE%\FontSubstitutes,"Arial(K) Cyr,0",,"Arial,204"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Courier New(K) Cyr,0",,"Courier New,204"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Times New Roman(K) Cyr,0",,"Times New Roman,204"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Arial(K) Cyr,204",,"Arial,204"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Courier New(K) Cyr,204",,"Courier New,204"
HKLM,%KEY_REMOVE%\FontSubstitutes,"Times New Roman(K) Cyr,204",,"Times New Roman,204"

; проверь первую строку
[ThisDLL.Add.Reg]
HKLM,%KKEY_C%%KbdID1%%LangID%,"Layout Display Name",,%DisplayName1%
HKLM,%KKEY_C%%KbdID1%%LangID%,"Layout File",,%FileDLL1%
HKLM,%KKEY_C%%KbdID1%%LangID%,"Layout Id",,"0001"
HKLM,%KKEY_C%%KbdID1%%LangID%,"Layout Text",,%KbdName1%

HKLM,%KKEY_C%%KbdID1%%LangID%,"Layout Display Name",,%DisplayName2%
HKLM,%KKEY_C%%KbdID2%%LangID%,"Layout File",,%FileDLL2%
HKLM,%KKEY_C%%KbdID2%%LangID%,"Layout Id",,"0010"
HKLM,%KKEY_C%%KbdID2%%LangID%,"Layout Text",,%KbdName2%

[Strings]
FileDLL1 = "KBDKZ1.DLL"
FileDLL2 = "KBDKZ2.DLL"
DisplayName1 = "@%SystemRoot%\system32\input.dll"
DisplayName2 = "@%SystemRoot%\system32\input.dll"
KEY_REMOVE = "Software\Microsoft\Windows NT\CurrentVersion"
KKEY_C = "SYSTEM\CurrentControlSet\Control\Keyboard Layouts\"
REG_SZ=0x00000000
LangID = "043f"
KbdID1 = "0001"
KbdID2 = "0002"
KbdName1 = "Казахстанская (русско-казахская)"
KbdName2 = "Казахстанская (казахско-русская)"
AppDir = "KazWin"
;16422="Program Files"
;16407="Documents and Settings\All Users\Главное меню\Программы"
