Mercurial > pidgin.yaz
comparison gaim-installer.nsi @ 6277:77857b637a82
[gaim-migrate @ 6776]
Pass language selection to the GTK+ installer
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Tue, 22 Jul 2003 19:08:05 +0000 |
parents | 48fe16f41ac3 |
children | 976d9ad5d77a |
comparison
equal
deleted
inserted
replaced
6276:48fe16f41ac3 | 6277:77857b637a82 |
---|---|
78 | 78 |
79 ;Remember the installer language | 79 ;Remember the installer language |
80 !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" | 80 !define MUI_LANGDLL_REGISTRY_ROOT "HKCU" |
81 !define MUI_LANGDLL_REGISTRY_KEY ${GAIM_REG_KEY} | 81 !define MUI_LANGDLL_REGISTRY_KEY ${GAIM_REG_KEY} |
82 !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" | 82 !define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language" |
83 !define MUI_LANGDLL_ALWAYSSHOW | |
83 | 84 |
84 ;-------------------------------- | 85 ;-------------------------------- |
85 ;Languages | 86 ;Languages |
86 | 87 |
87 !insertmacro MUI_LANGUAGE "English" | 88 !insertmacro MUI_LANGUAGE "English" |
214 StrCpy $R5 "0" | 215 StrCpy $R5 "0" |
215 | 216 |
216 Call DoWeNeedGtk | 217 Call DoWeNeedGtk |
217 Pop $R0 | 218 Pop $R0 |
218 Pop $R6 | 219 Pop $R6 |
220 | |
221 ; Pass on the language we are using to GTK+ installer via registry.. | |
222 WriteRegStr HKCU "${GTK_REG_KEY}" "Installer Language" "$LANGUAGE" | |
219 | 223 |
220 StrCmp $R0 "0" have_gtk | 224 StrCmp $R0 "0" have_gtk |
221 StrCmp $R0 "1" upgrade_gtk | 225 StrCmp $R0 "1" upgrade_gtk |
222 StrCmp $R0 "2" no_gtk no_gtk | 226 StrCmp $R0 "2" no_gtk no_gtk |
223 | 227 |