2007-02-08 21:09:30 +00:00
|
|
|
|
/*
|
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
init.nsh
|
|
|
|
|
|
|
|
|
|
Initialization function
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2007-02-26 16:03:30 +00:00
|
|
|
|
#--------------------------------
|
2008-03-30 21:37:53 +00:00
|
|
|
|
# Installer initialization
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-04-05 19:12:37 +00:00
|
|
|
|
!macro PRINTER_INIT
|
|
|
|
|
|
|
|
|
|
${If} ${AtLeastWinVista}
|
|
|
|
|
StrCpy $PrinterConf "printui.exe"
|
|
|
|
|
${Else}
|
|
|
|
|
StrCpy $PrinterConf "rundll32.exe printui.dll,PrintUIEntry"
|
|
|
|
|
${EndIf}
|
|
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
2007-02-08 21:09:30 +00:00
|
|
|
|
Function .onInit
|
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
${IfNot} ${IsNT}
|
2011-03-21 10:22:32 +00:00
|
|
|
|
${OrIfNot} ${AtLeastWinXP}
|
|
|
|
|
MessageBox MB_OK|MB_ICONSTOP "${APP_NAME} ${APP_VERSION} requires Windows XP or later."
|
2008-03-30 21:37:53 +00:00
|
|
|
|
Quit
|
|
|
|
|
${EndIf}
|
2011-05-23 04:12:10 +00:00
|
|
|
|
|
|
|
|
|
# check that the installer is not currently running
|
|
|
|
|
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${BundleExeFile}.Instance") i .r1 ?e'
|
|
|
|
|
Pop $R0
|
|
|
|
|
${if} $R0 != "0"
|
|
|
|
|
MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)"
|
|
|
|
|
Abort
|
|
|
|
|
${endif}
|
|
|
|
|
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${ExeFile}.Instance") i .r1 ?e'
|
|
|
|
|
Pop $R0
|
|
|
|
|
${if} $R0 != "0"
|
|
|
|
|
MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)"
|
|
|
|
|
Abort
|
|
|
|
|
${endif}
|
|
|
|
|
|
|
|
|
|
# check if LyX is already installed
|
|
|
|
|
ReadRegStr $0 HKLM "${APP_UNINST_KEY}" "Publisher"
|
|
|
|
|
${if} $0 != ""
|
|
|
|
|
MessageBox MB_OK|MB_ICONSTOP "$(StillInstalled)"
|
|
|
|
|
Abort
|
|
|
|
|
${endif}
|
2008-03-30 21:37:53 +00:00
|
|
|
|
|
2008-04-05 19:12:37 +00:00
|
|
|
|
!insertmacro PRINTER_INIT
|
2008-03-30 21:37:53 +00:00
|
|
|
|
!insertmacro MULTIUSER_INIT
|
2011-05-23 04:12:10 +00:00
|
|
|
|
|
|
|
|
|
# this can be reset to "true" in section SecDesktop
|
|
|
|
|
StrCpy $CreateDesktopIcon "false"
|
|
|
|
|
StrCpy $CreateFileAssociations "false"
|
2008-04-11 23:01:05 +00:00
|
|
|
|
|
2008-04-07 17:26:02 +00:00
|
|
|
|
${IfNot} ${Silent}
|
2008-05-01 18:33:36 +00:00
|
|
|
|
|
|
|
|
|
!ifndef BUNDLE_IMAGEMAGICK & BUNDLE_GHOSTSCRIPT
|
2008-04-11 23:01:05 +00:00
|
|
|
|
# Warn the user when no Administrator or Power user privileges are available
|
|
|
|
|
# These privileges are required to install ImageMagick or Ghostscript
|
|
|
|
|
${If} $MultiUser.Privileges != "Admin"
|
2008-05-01 18:33:36 +00:00
|
|
|
|
${AndIf} $MultiUser.Privileges != "Power"
|
2008-04-11 23:01:05 +00:00
|
|
|
|
MessageBox MB_OK|MB_ICONEXCLAMATION $(TEXT_NO_PRIVILEDGES)
|
|
|
|
|
${EndIf}
|
2008-05-01 18:33:36 +00:00
|
|
|
|
!endif
|
2008-04-11 23:01:05 +00:00
|
|
|
|
|
|
|
|
|
# Show banner while installer is intializating
|
2007-02-08 21:09:30 +00:00
|
|
|
|
Banner::show /NOUNLOAD "Checking system"
|
2008-03-30 21:37:53 +00:00
|
|
|
|
${EndIf}
|
2008-04-11 23:01:05 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
Call SearchExternal
|
2011-05-23 04:12:10 +00:00
|
|
|
|
#Call InitExternal
|
|
|
|
|
|
2011-06-08 16:41:48 +00:00
|
|
|
|
!if ${SETUPTYPE} == BUNDLE
|
|
|
|
|
# don't let the installer sections appear when the programs are already installed
|
|
|
|
|
${if} $PathBibTeXEditor != ""
|
|
|
|
|
SectionSetText 3 "" # hides the corresponding uninstaller section, ${SecInstJabRef}
|
|
|
|
|
${endif}
|
|
|
|
|
!endif
|
|
|
|
|
|
2008-04-07 17:26:02 +00:00
|
|
|
|
${IfNot} ${Silent}
|
2007-02-08 21:09:30 +00:00
|
|
|
|
Banner::destroy
|
2008-03-30 21:37:53 +00:00
|
|
|
|
${EndIf}
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
|
|
|
|
FunctionEnd
|
|
|
|
|
|
2011-05-23 04:12:10 +00:00
|
|
|
|
# this function is called at first after starting the uninstaller
|
2007-02-08 21:09:30 +00:00
|
|
|
|
Function un.onInit
|
|
|
|
|
|
2008-04-05 19:12:37 +00:00
|
|
|
|
!insertmacro PRINTER_INIT
|
2008-03-30 21:37:53 +00:00
|
|
|
|
!insertmacro MULTIUSER_UNINIT
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2011-05-23 04:12:10 +00:00
|
|
|
|
# Check that LyX is not currently running
|
|
|
|
|
FindProcDLL::FindProc "lyx.exe"
|
|
|
|
|
${if} $R0 == "1"
|
|
|
|
|
MessageBox MB_OK|MB_ICONSTOP "$(UnInstallRunning)"
|
|
|
|
|
Abort
|
|
|
|
|
${endif}
|
|
|
|
|
|
|
|
|
|
# set registry root key
|
|
|
|
|
${if} $MultiUser.Privileges == "Admin"
|
|
|
|
|
${orif} $MultiUser.Privileges == "Power"
|
|
|
|
|
SetShellVarContext all
|
|
|
|
|
${else}
|
|
|
|
|
SetShellVarContext current
|
|
|
|
|
${endif}
|
|
|
|
|
|
|
|
|
|
# Ascertain whether the user has sufficient privileges to uninstall.
|
|
|
|
|
# abort when LyX was installed with admin permissions but the user doesn't have administrator privileges
|
|
|
|
|
ReadRegStr $0 HKLM "${APP_UNINST_KEY}" "DisplayVersion"
|
|
|
|
|
${if} $0 != ""
|
|
|
|
|
${andif} $MultiUser.Privileges != "Admin"
|
|
|
|
|
${andif} $MultiUser.Privileges != "Power"
|
|
|
|
|
MessageBox MB_OK|MB_ICONSTOP "$(UnNotAdminLabel)"
|
|
|
|
|
Abort
|
|
|
|
|
${endif}
|
|
|
|
|
# abort when LyX couldn't be found in the registry
|
|
|
|
|
${if} $0 == "" # check in HKCU
|
|
|
|
|
ReadRegStr $0 HKCU "${APP_UNINST_KEY}" "DisplayVersion"
|
|
|
|
|
${if} $0 == ""
|
|
|
|
|
MessageBox MB_OK|MB_ICONEXCLAMATION "$(UnNotInRegistryLabel)"
|
|
|
|
|
${endif}
|
|
|
|
|
${endif}
|
|
|
|
|
|
|
|
|
|
# Macro to investigate name of LyX's preferences folders to be able remove them
|
|
|
|
|
!insertmacro UnAppPreSuff $AppPre $AppSuff # macro from LyXUtils.nsh
|
|
|
|
|
|
|
|
|
|
# test if MiKTeX was installed together with LyX
|
|
|
|
|
ReadRegStr $0 HKLM "SOFTWARE\MiKTeX.org\MiKTeX" "OnlyWithLyX"
|
|
|
|
|
${if} $0 == "Yes${APP_SERIES_KEY}"
|
|
|
|
|
SectionSetText 2 "MiKTeX" # names the corersponding uninstaller section
|
|
|
|
|
StrCpy $LaTeXInstalled "MiKTeX"
|
|
|
|
|
DeleteRegValue HKLM "SOFTWARE\MiKTeX.org\MiKTeX" "OnlyWithLyX"
|
|
|
|
|
${else}
|
|
|
|
|
SectionSetText 2 "" # hides the corresponding uninstaller section
|
|
|
|
|
${endif}
|
2011-06-08 16:41:48 +00:00
|
|
|
|
|
2011-05-23 04:12:10 +00:00
|
|
|
|
# test if JabRef was installed together with LyX
|
|
|
|
|
ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef ${JabRefVersion}" "OnlyWithLyX"
|
|
|
|
|
${if} $0 == "Yes${APP_SERIES_KEY}"
|
|
|
|
|
SectionSetText 3 "JabRef" # names the corersponding uninstaller section
|
|
|
|
|
StrCpy $JabRefInstalled "Yes"
|
|
|
|
|
DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef ${JabRefVersion}" "OnlyWithLyX"
|
|
|
|
|
${else}
|
|
|
|
|
SectionSetText 3 "" # hides the corresponding uninstaller section
|
|
|
|
|
${endif}
|
|
|
|
|
|
|
|
|
|
# question message if the user really wants to uninstall LyX
|
|
|
|
|
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "$(UnReallyRemoveLabel)" IDYES +2 # continue if yes
|
|
|
|
|
Abort
|
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
FunctionEnd
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
#--------------------------------
|
|
|
|
|
# User initialization
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
Var ComponentPath
|
|
|
|
|
Var LyXLangName
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2011-05-23 04:12:10 +00:00
|
|
|
|
# COMPONENT can be LaTeX, ImageMagick and Ghostscript
|
2008-03-30 21:37:53 +00:00
|
|
|
|
!macro EXTERNAL_INIT COMPONENT
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
# APP_REGKEY_SETUP = "Software\${APP_NAME}${APP_SERIES_KEY}\Setup"
|
|
|
|
|
# where ${APP_NAME}${APP_SERIES_KEY} is something like LyX16
|
|
|
|
|
ReadRegStr $ComponentPath SHELL_CONTEXT "${APP_REGKEY_SETUP}" "${COMPONENT} Path"
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
# BIN_LATEX etc are defined in settings.nsh
|
|
|
|
|
${If} ${FileExists} "$ComponentPath\${BIN_${COMPONENT}}"
|
|
|
|
|
# set variables like PathLaTeX
|
|
|
|
|
StrCpy $Path${COMPONENT} $ComponentPath
|
|
|
|
|
${EndIf}
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
!macroend
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
Function InitUser
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
# Get directories of components from registry
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
!insertmacro EXTERNAL_INIT LaTeX
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
# Get LyX language
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
ReadRegStr $LyXLangName SHELL_CONTEXT "${APP_REGKEY_SETUP}" "LyX Language"
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
2008-03-30 21:37:53 +00:00
|
|
|
|
${If} $LyXLangName != ""
|
|
|
|
|
StrCpy $LangName $LyXLangName
|
|
|
|
|
${EndIf}
|
2007-02-08 21:09:30 +00:00
|
|
|
|
|
|
|
|
|
FunctionEnd
|
2011-05-23 04:12:10 +00:00
|
|
|
|
|
|
|
|
|
#--------------------------------
|
|
|
|
|
# visible installer sections
|
|
|
|
|
|
|
|
|
|
Section "!${APP_NAME}" SecCore
|
|
|
|
|
SectionIn RO
|
|
|
|
|
SectionEnd
|
|
|
|
|
Section "$(SecFileAssocTitle)" SecFileAssoc
|
|
|
|
|
StrCpy $CreateFileAssociations "true"
|
|
|
|
|
SectionEnd
|
2011-09-05 07:20:53 +00:00
|
|
|
|
Section "$(SecDesktopTitle)" SecDesktop
|
2011-05-23 04:12:10 +00:00
|
|
|
|
StrCpy $CreateDesktopIcon "true"
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
!if ${SETUPTYPE} == BUNDLE
|
|
|
|
|
Section /o "$(SecInstJabRefTitle)" SecInstJabRef
|
|
|
|
|
AddSize 5000
|
|
|
|
|
StrCpy $InstallJabRef "true"
|
|
|
|
|
SectionEnd
|
|
|
|
|
!endif
|
|
|
|
|
|
2012-06-03 15:17:01 +00:00
|
|
|
|
SectionGroup "Dictionaries" SecDictionaries
|
|
|
|
|
|
2012-06-03 21:55:21 +00:00
|
|
|
|
Section /o "Afrikaans" SecDAfrikaans
|
|
|
|
|
StrCpy $DictCodes "af_ZA$DictCodes"
|
|
|
|
|
AddSize 1440
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Arabic" SecDArabic
|
|
|
|
|
StrCpy $DictCodes "ar_DZ$DictCodes"
|
|
|
|
|
AddSize 2500
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Armenian" SecDArmenian
|
|
|
|
|
StrCpy $DictCodes "hy_AM$DictCodes"
|
|
|
|
|
AddSize 2000
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Bahasa Indonesia" SecDIndonesian
|
|
|
|
|
StrCpy $DictCodes "id_ID$DictCodes"
|
|
|
|
|
AddSize 217
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Bahasa Melayu" SecDMalayan
|
|
|
|
|
StrCpy $DictCodes "ms_MY$DictCodes"
|
|
|
|
|
AddSize 227
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Belarusian" SecDBelarusian
|
|
|
|
|
StrCpy $DictCodes "be_BY$DictCodes"
|
|
|
|
|
AddSize 1040
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Brezhoneg" SecDBreton
|
|
|
|
|
StrCpy $DictCodes "br_FR$DictCodes"
|
|
|
|
|
AddSize 11000
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Bulgarian" SecDBulgarian
|
|
|
|
|
StrCpy $DictCodes "bg_BG$DictCodes"
|
|
|
|
|
AddSize 985
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Catal<61>" SecDCatalanian
|
|
|
|
|
StrCpy $DictCodes "ca_ES$DictCodes"
|
|
|
|
|
AddSize 1210
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Ce<43>tina" SecDCzech
|
|
|
|
|
StrCpy $DictCodes "cs_CZ$DictCodes"
|
|
|
|
|
AddSize 2190
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Cymraeg" SecDWelsh
|
|
|
|
|
StrCpy $DictCodes "cy_GB$DictCodes"
|
|
|
|
|
AddSize 1540
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Dansk" SecDDanish
|
|
|
|
|
StrCpy $DictCodes "da_DK$DictCodes"
|
|
|
|
|
AddSize 2470
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
2012-06-03 15:17:01 +00:00
|
|
|
|
Section /o "German (A)" SecDGermanAT
|
|
|
|
|
StrCpy $DictCodes "de_AT$DictCodes"
|
|
|
|
|
AddSize 1000
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "German (CH)" SecDGermanCH
|
|
|
|
|
StrCpy $DictCodes "de_CH$DictCodes"
|
|
|
|
|
AddSize 1000
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section "German (D)" SecDGermanD
|
2012-06-03 21:55:21 +00:00
|
|
|
|
# already installed by default
|
|
|
|
|
#StrCpy $DictCodes "de_DE$DictCodes"
|
2012-06-03 15:17:01 +00:00
|
|
|
|
AddSize 2650
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
2012-06-03 21:55:21 +00:00
|
|
|
|
Section /o "Greek" SecDGreek
|
|
|
|
|
StrCpy $DictCodes "el_GR$DictCodes"
|
|
|
|
|
AddSize 6550
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Eesti" SecDEstonian
|
|
|
|
|
StrCpy $DictCodes "et_EE$DictCodes"
|
|
|
|
|
AddSize 4400
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
# enable this for LyX 2.1!
|
|
|
|
|
#Section /o "English (AU)" SecDEnglishAU
|
|
|
|
|
# StrCpy $DictCodes "en_AU$DictCodes"
|
|
|
|
|
# AddSize 587
|
|
|
|
|
#SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "English (CA)" SecDEnglishCA
|
|
|
|
|
StrCpy $DictCodes "en_CA$DictCodes"
|
|
|
|
|
AddSize 690
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section "English (GB)" SecDEnglishGB
|
|
|
|
|
# already installed by default
|
|
|
|
|
#StrCpy $DictCodes "en_GB$DictCodes"
|
|
|
|
|
AddSize 757
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
# enable this for LyX 2.1!
|
|
|
|
|
#Section /o "English (NZ)" SecDEnglishNZ
|
|
|
|
|
# StrCpy $DictCodes "en_NZ$DictCodes"
|
|
|
|
|
# AddSize 551
|
|
|
|
|
#SectionEnd
|
|
|
|
|
|
|
|
|
|
Section "English (US)" SecDEnglishUS
|
|
|
|
|
# already installed by default
|
|
|
|
|
#StrCpy $DictCodes "en_US$DictCodes"
|
|
|
|
|
AddSize 688
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section "Espa<70>ol (ES)" SecDSpanishES
|
|
|
|
|
# already installed by default
|
|
|
|
|
#StrCpy $DictCodes "es_ES$DictCodes"
|
|
|
|
|
AddSize 974
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section "Espa<70>ol (MX)" SecDSpanishMX
|
|
|
|
|
# already installed by default
|
|
|
|
|
#StrCpy $DictCodes "es_MX$DictCodes"
|
|
|
|
|
AddSize 924
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Esperanto" SecDEsperanto
|
|
|
|
|
StrCpy $DictCodes "eo_EO$DictCodes"
|
|
|
|
|
AddSize 389
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Euskara" SecDBasque
|
|
|
|
|
StrCpy $DictCodes "eu_ES$DictCodes"
|
|
|
|
|
AddSize 4850
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Farsi" SecDFarsi
|
|
|
|
|
StrCpy $DictCodes "fa_IR$DictCodes"
|
|
|
|
|
AddSize 6710
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section "Fran<61>ais" SecDFrench
|
|
|
|
|
# already installed by default
|
|
|
|
|
#StrCpy $DictCodes "fr_FR$DictCodes"
|
|
|
|
|
AddSize 1200
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Gaeilge" SecDGaelic
|
|
|
|
|
StrCpy $DictCodes "ga_IR$DictCodes"
|
|
|
|
|
AddSize 1090
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "G<>idhlig" SecDScottish
|
|
|
|
|
StrCpy $DictCodes "gd_GB$DictCodes"
|
|
|
|
|
AddSize 2460
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Galego" SecDGalician
|
|
|
|
|
StrCpy $DictCodes "gl_ES$DictCodes"
|
|
|
|
|
AddSize 916
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Hebrew" SecDHebrew
|
|
|
|
|
StrCpy $DictCodes "he_IL$DictCodes"
|
|
|
|
|
AddSize 3120
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Hrvatski" SecDCroatian
|
|
|
|
|
StrCpy $DictCodes "hr_HR$DictCodes"
|
|
|
|
|
AddSize 2240
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Magyar" SecDHungarian
|
2012-06-03 15:17:01 +00:00
|
|
|
|
StrCpy $DictCodes "hu_HU$DictCodes"
|
|
|
|
|
AddSize 3380
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
2012-06-03 21:55:21 +00:00
|
|
|
|
Section /o "Interlingua" SecDInterlingua
|
|
|
|
|
StrCpy $DictCodes "ia_IA$DictCodes"
|
|
|
|
|
AddSize 649
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "<22>slenska" SecDIcelandic
|
|
|
|
|
StrCpy $DictCodes "is_IS$DictCodes"
|
|
|
|
|
AddSize 2320
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Italiano" SecDItalian
|
|
|
|
|
StrCpy $DictCodes "it_IT$DictCodes"
|
|
|
|
|
AddSize 1300
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Kazakh" SecDKazakh
|
|
|
|
|
StrCpy $DictCodes "kk_KZ$DictCodes"
|
|
|
|
|
AddSize 2120
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Korean" SecDKorean
|
|
|
|
|
StrCpy $DictCodes "ko_KR$DictCodes"
|
|
|
|
|
AddSize 15200
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Latina" SecDLatin
|
|
|
|
|
StrCpy $DictCodes "la_LA$DictCodes"
|
|
|
|
|
AddSize 1250
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Lietuviu" SecDLithuanian
|
|
|
|
|
StrCpy $DictCodes "lt_LT$DictCodes"
|
|
|
|
|
AddSize 1320
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Latvie<69>u" SecDLatvian
|
|
|
|
|
StrCpy $DictCodes "lv_LV$DictCodes"
|
|
|
|
|
AddSize 2140
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Nederlands" SecDDutch
|
|
|
|
|
StrCpy $DictCodes "nl_NL$DictCodes"
|
|
|
|
|
AddSize 1820
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Norsk (Bokm<6B>l)" SecDNorwegianNB
|
|
|
|
|
StrCpy $DictCodes "nb_NO$DictCodes"
|
|
|
|
|
AddSize 4890
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Norsk (Nynorsk)" SecDNorwegianNN
|
|
|
|
|
StrCpy $DictCodes "nn_NO$DictCodes"
|
|
|
|
|
AddSize 2890
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Polski" SecDPolish
|
|
|
|
|
StrCpy $DictCodes "pl_PL$DictCodes"
|
|
|
|
|
AddSize 4540
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Portugu<67>s (BR)" SecDPortugueseBR
|
|
|
|
|
StrCpy $DictCodes "pt_BR$DictCodes"
|
|
|
|
|
AddSize 5280
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Portugu<67>s (PT)" SecDPortuguesePT
|
|
|
|
|
StrCpy $DictCodes "pt_PT$DictCodes"
|
|
|
|
|
AddSize 1460
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Rom<6F>na" SecDRomanian
|
|
|
|
|
StrCpy $DictCodes "ro_RO$DictCodes"
|
|
|
|
|
AddSize 1930
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section "Russian" SecDRussian
|
|
|
|
|
# already installed by default
|
|
|
|
|
#StrCpy $DictCodes "ru_RU$DictCodes"
|
|
|
|
|
AddSize 1920
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Serb<72>cina (Dolno)" SecDSorbianD
|
2012-06-03 15:17:01 +00:00
|
|
|
|
StrCpy $DictCodes "db_DE$DictCodes"
|
|
|
|
|
AddSize 904
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
2012-06-03 21:55:21 +00:00
|
|
|
|
Section /o "Serb<72>cina (Horno)" SecDSorbianH
|
|
|
|
|
StrCpy $DictCodes "hb_DE$DictCodes"
|
|
|
|
|
AddSize 740
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Shqipe" SecDAlbanian
|
|
|
|
|
StrCpy $DictCodes "sq_AL$DictCodes"
|
|
|
|
|
AddSize 2400
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Sloven<65>cina" SecDSlowenian
|
|
|
|
|
StrCpy $DictCodes "sl_SI$DictCodes"
|
|
|
|
|
AddSize 2840
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Slovensk<73>" SecDSlowakian
|
|
|
|
|
StrCpy $DictCodes "sk_SK$ThesCodes"
|
|
|
|
|
AddSize 4090
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Srpski" SecDSerbian
|
|
|
|
|
StrCpy $DictCodes "sr_RS$DictCodes"
|
|
|
|
|
AddSize 3460
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Svenska" SecDSwedish
|
|
|
|
|
StrCpy $DictCodes "sv_SE$DictCodes"
|
|
|
|
|
AddSize 1030
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Thai" SecDThai
|
|
|
|
|
StrCpy $DictCodes "th_TH$DictCodes"
|
|
|
|
|
AddSize 351
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Ukrainian" SecDUkrainian
|
|
|
|
|
StrCpy $DictCodes "uk_UA$DictCodes"
|
|
|
|
|
AddSize 2620
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Vietnamese" SecDVietnamese
|
|
|
|
|
StrCpy $DictCodes "vi_VN$DictCodes"
|
|
|
|
|
AddSize 39600
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
2012-06-03 15:17:01 +00:00
|
|
|
|
SectionGroupEnd
|
|
|
|
|
|
|
|
|
|
SectionGroup "Thesaurus" SecThesaurus
|
|
|
|
|
|
|
|
|
|
Section /o "Bulgarian" SecTBulgarian
|
|
|
|
|
StrCpy $ThesCodes "bg_BG$ThesCodes"
|
|
|
|
|
AddSize 3020
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Catal<61>" SecTCatalan
|
|
|
|
|
StrCpy $ThesCodes "ca_ES$ThesCodes"
|
|
|
|
|
AddSize 731
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Ce<43>tina" SecTCzech
|
|
|
|
|
StrCpy $ThesCodes "cs_CZ$ThesCodes"
|
|
|
|
|
AddSize 635
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Dansk" SecTDanish
|
|
|
|
|
StrCpy $ThesCodes "da_DK$ThesCodes"
|
|
|
|
|
AddSize 2360
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Deutsch (D/A)" SecTGermanDA
|
|
|
|
|
StrCpy $ThesCodes "de_DE$ThesCodes"
|
|
|
|
|
AddSize 5360
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Deutsch (CH)" SecTGermanCH
|
|
|
|
|
StrCpy $ThesCodes "de_CH$ThesCodes"
|
|
|
|
|
AddSize 5360
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "English (GB)" SecTEnglishGB
|
|
|
|
|
StrCpy $ThesCodes "en_GB$ThesCodes"
|
|
|
|
|
AddSize 20600
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "English (US/AU)" SecTEnglishUSAU
|
|
|
|
|
StrCpy $ThesCodes "en_US$ThesCodes"
|
|
|
|
|
AddSize 20600
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Espa<70>ol" SecTSpanish
|
|
|
|
|
StrCpy $ThesCodes "es_ES$ThesCodes"
|
|
|
|
|
AddSize 2860
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Fran<61>ais" SecTFrench
|
|
|
|
|
StrCpy $ThesCodes "fr_FR$ThesCodes"
|
|
|
|
|
AddSize 5060
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Gaeilge" SecTGaelic
|
|
|
|
|
StrCpy $ThesCodes "ga_IR$ThesCodes"
|
|
|
|
|
AddSize 30600
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Greek" SecTGreek
|
|
|
|
|
StrCpy $ThesCodes "el_GR$ThesCodes"
|
|
|
|
|
AddSize 903
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Italiano" SecTItalian
|
|
|
|
|
StrCpy $ThesCodes "it_IT$ThesCodes"
|
|
|
|
|
AddSize 2640
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Magyar" SecTHungarian
|
|
|
|
|
StrCpy $ThesCodes "hu_HU$ThesCodes"
|
|
|
|
|
AddSize 632
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Norsk" SecTNorwegian
|
|
|
|
|
StrCpy $ThesCodes "no_NO$ThesCodes"
|
|
|
|
|
AddSize 2470
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Polski" SecTPolish
|
|
|
|
|
StrCpy $ThesCodes "pl_PL$ThesCodes"
|
|
|
|
|
AddSize 5580
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Portugu<67>s" SecTPortuguese
|
|
|
|
|
StrCpy $ThesCodes "pt_PT$ThesCodes"
|
|
|
|
|
AddSize 855
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Rom<6F>na" SecTRomanian
|
|
|
|
|
StrCpy $ThesCodes "ro_RO$ThesCodes"
|
|
|
|
|
AddSize 3640
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Russian" SecTRussian
|
|
|
|
|
StrCpy $ThesCodes "ru_RU$ThesCodes"
|
|
|
|
|
AddSize 2080
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Sloven<65>cina" SecTSlowenian
|
|
|
|
|
StrCpy $ThesCodes "sl_SI$ThesCodes"
|
|
|
|
|
AddSize 107
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Slovensk<73>" SecTSlowakian
|
|
|
|
|
StrCpy $ThesCodes "sk_SK$ThesCodes"
|
|
|
|
|
AddSize 907
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
Section /o "Svenska" SecTSwedish
|
|
|
|
|
StrCpy $ThesCodes "sv_SE$ThesCodes"
|
|
|
|
|
AddSize 720
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
|
|
SectionGroupEnd
|
|
|
|
|
|
2011-05-23 04:12:10 +00:00
|
|
|
|
# Section descriptions
|
|
|
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "$(SecCoreDescription)"
|
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecFileAssoc} "$(SecFileAssocDescription)"
|
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecDesktop} "$(SecDesktopDescription)"
|
2011-06-08 16:41:48 +00:00
|
|
|
|
!if ${SETUPTYPE} == BUNDLE
|
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecInstJabRef} "$(SecInstJabRefDescription)"
|
|
|
|
|
!endif
|
2011-05-23 04:12:10 +00:00
|
|
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
|
|
|
|
|