Mercurial > pidgin.yaz
comparison pidgin/win32/nsis/pidgin-installer.nsi @ 16773:ef86cf8789ea
Fix #470 (change spellchecker language to not select every language)
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 01 May 2007 23:36:35 +0000 |
parents | 9b7ed8da299d |
children | 58904374db06 |
comparison
equal
deleted
inserted
replaced
16771:ee0183e375db | 16773:ef86cf8789ea |
---|---|
282 | 282 |
283 ; If a previous version exists, remove it | 283 ; If a previous version exists, remove it |
284 try_uninstall: | 284 try_uninstall: |
285 StrCmp $R1 "" done | 285 StrCmp $R1 "" done |
286 ; Version key started with 0.60a3. Prior versions can't be | 286 ; Version key started with 0.60a3. Prior versions can't be |
287 ; automaticlly uninstalled. | 287 ; automatically uninstalled. |
288 StrCmp $R2 "" uninstall_problem | 288 StrCmp $R2 "" uninstall_problem |
289 ; Check if we have uninstall string.. | 289 ; Check if we have uninstall string.. |
290 IfFileExists $R3 0 uninstall_problem | 290 IfFileExists $R3 0 uninstall_problem |
291 ; Have uninstall string, go ahead and uninstall. | 291 ; Have uninstall string, go ahead and uninstall. |
292 SetOverwrite on | 292 SetOverwrite on |
342 Pop $R6 | 342 Pop $R6 |
343 | 343 |
344 StrCmp $R0 "0" have_gtk | 344 StrCmp $R0 "0" have_gtk |
345 StrCmp $R0 "1" upgrade_gtk | 345 StrCmp $R0 "1" upgrade_gtk |
346 StrCmp $R0 "2" upgrade_gtk | 346 StrCmp $R0 "2" upgrade_gtk |
347 StrCmp $R0 "3" no_gtk no_gtk | 347 ;StrCmp $R0 "3" no_gtk no_gtk |
348 | 348 |
349 no_gtk: | 349 no_gtk: |
350 StrCmp $R1 "NONE" gtk_no_install_rights | 350 StrCmp $R1 "NONE" gtk_no_install_rights |
351 ClearErrors | 351 ClearErrors |
352 ExecWait '"$TEMP\gtk-runtime.exe" /L=$LANGUAGE $ISSILENT /D=$GTK_FOLDER' | 352 ExecWait '"$TEMP\gtk-runtime.exe" /L=$LANGUAGE $ISSILENT /D=$GTK_FOLDER' |
1136 ClearErrors | 1136 ClearErrors |
1137 ReadRegStr $R0 HKCU "SOFTWARE\gaim" "Installer Language" | 1137 ReadRegStr $R0 HKCU "SOFTWARE\gaim" "Installer Language" |
1138 IfErrors +2 | 1138 IfErrors +2 |
1139 WriteRegStr HKCU "${PIDGIN_REG_KEY}" "Installer Language" "$R0" | 1139 WriteRegStr HKCU "${PIDGIN_REG_KEY}" "Installer Language" "$R0" |
1140 | 1140 |
1141 !insertmacro SetSectionFlag ${SecSpellCheck} ${SF_RO} | |
1142 !insertmacro UnselectSection ${SecSpellCheck} | |
1143 | |
1141 ;Mark the dictionaries that are already installed as readonly | 1144 ;Mark the dictionaries that are already installed as readonly |
1142 Call SelectAndDisableInstalledDictionaries | 1145 Call SelectAndDisableInstalledDictionaries |
1143 | 1146 |
1144 ;Preselect the URI handlers as appropriate | 1147 ;Preselect the URI handlers as appropriate |
1145 Call SelectURIHandlerSelections | 1148 Call SelectURIHandlerSelections |