mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 19:59:46 +00:00
Win installer: make it a real Unicode program
This commit is contained in:
parent
27f1f8a948
commit
3887ffb24f
@ -9,11 +9,11 @@
|
|||||||
3. install the latest version 3.x of NSIS (http://nsis.sourceforge.net/Download)
|
3. install the latest version 3.x of NSIS (http://nsis.sourceforge.net/Download)
|
||||||
4. install the NSIS Large Strings build (http://nsis.sourceforge.net/Special_Builds)
|
4. install the NSIS Large Strings build (http://nsis.sourceforge.net/Special_Builds)
|
||||||
(extract the extension ZIP file in your NSIS installation folder and this way overwrite some files)
|
(extract the extension ZIP file in your NSIS installation folder and this way overwrite some files)
|
||||||
5. open the file FindProcDLL.zip (that is part of this bundle),
|
5. open the file FindProcDLL Unicode bin.zip (that is part of this bundle),
|
||||||
extract from it the file FindProc.dll to the folder \Plugins\x86-ansi of
|
extract from it the file FindProc.dll to the folder \Plugins\x86-unicode of
|
||||||
NSIS's installation folder
|
NSIS's installation folder
|
||||||
6. open the file InetLoad.zip (that is part of this bundle),
|
6. open the file Inetc.zip (that is part of this bundle),
|
||||||
extract from it the file InetLoad.dll to the folder \Plugins\x86-ansi of
|
extract from it the file INetC.dll to the folder \Plugins\x86-unicode of
|
||||||
NSIS's installation folder
|
NSIS's installation folder
|
||||||
7. right-click on the file lyx-standard.nsi and choose "Compile NSIS script"
|
7. right-click on the file lyx-standard.nsi and choose "Compile NSIS script"
|
||||||
to compile the standard installer
|
to compile the standard installer
|
||||||
|
@ -81,7 +81,7 @@ Function DownloadHunspellDictionaries
|
|||||||
FileRead $R4 $Search # $Search is now the mirror
|
FileRead $R4 $Search # $Search is now the mirror
|
||||||
StrCpy $Search $Search -2 # delete the linebreak characters at the end
|
StrCpy $Search $Search -2 # delete the linebreak characters at the end
|
||||||
Push $R0
|
Push $R0
|
||||||
InetLoad::load /TIMEOUT=5000 "http://$Search.dl.sourceforge.net/project/lyxwininstaller/hunspell/$String" "$INSTDIR\Resources\dicts\$String" /END
|
inetc::get /TIMEOUT=5000 "http://$Search.dl.sourceforge.net/project/lyxwininstaller/hunspell/$String" "$INSTDIR\Resources\dicts\$String" /END
|
||||||
Pop $R0
|
Pop $R0
|
||||||
${if} $R0 == "OK"
|
${if} $R0 == "OK"
|
||||||
${ExitFor}
|
${ExitFor}
|
||||||
@ -127,7 +127,7 @@ Function DownloadThesaurusDictionaries
|
|||||||
FileRead $R4 $Search # $Search is now the mirror
|
FileRead $R4 $Search # $Search is now the mirror
|
||||||
StrCpy $Search $Search -2 # delete the linebreak characters at the end
|
StrCpy $Search $Search -2 # delete the linebreak characters at the end
|
||||||
Push $R0
|
Push $R0
|
||||||
InetLoad::load /TIMEOUT=5000 "http://$Search.dl.sourceforge.net/project/lyxwininstaller/thesaurus/$String" "$INSTDIR\Resources\thes\$String" /END
|
inetc::get /TIMEOUT=5000 "http://$Search.dl.sourceforge.net/project/lyxwininstaller/thesaurus/$String" "$INSTDIR\Resources\thes\$String" /END
|
||||||
Pop $R0
|
Pop $R0
|
||||||
${if} $R0 == "OK"
|
${if} $R0 == "OK"
|
||||||
${ExitFor}
|
${ExitFor}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
init.nsh
|
init.nsh
|
||||||
|
|
||||||
Initialization functions
|
Initialization functions
|
||||||
@ -65,19 +65,19 @@ SectionEnd
|
|||||||
# Expand the list of dictionaries by default as this was requested by several
|
# Expand the list of dictionaries by default as this was requested by several
|
||||||
# users. For the thesaurus this is was not requested because this section
|
# users. For the thesaurus this is was not requested because this section
|
||||||
# is by default empty.
|
# is by default empty.
|
||||||
SectionGroup /e "Dictionaries" SecDictionaries
|
SectionGroup /e "$(SecDictionaries)" SecDictionaries
|
||||||
|
|
||||||
Section /o "Afrikaans" SecDAfrikaans
|
Section /o "Afrikaans" SecDAfrikaans
|
||||||
StrCpy $DictCodes "af_ZA,$DictCodes"
|
StrCpy $DictCodes "af_ZA,$DictCodes"
|
||||||
AddSize 1440
|
AddSize 1440
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Arabic" SecDArabic
|
Section /o "العربية" SecDArabic
|
||||||
StrCpy $DictCodes "ar_DZ,$DictCodes"
|
StrCpy $DictCodes "ar_DZ,$DictCodes"
|
||||||
AddSize 2500
|
AddSize 2500
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Armenian" SecDArmenian
|
Section /o "հայերեն" SecDArmenian
|
||||||
StrCpy $DictCodes "hy_AM,$DictCodes"
|
StrCpy $DictCodes "hy_AM,$DictCodes"
|
||||||
AddSize 2000
|
AddSize 2000
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -92,7 +92,7 @@ Section /o "Bahasa Melayu" SecDMalayan
|
|||||||
AddSize 227
|
AddSize 227
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Belarusian" SecDBelarusian
|
Section /o "беларускі" SecDBelarusian
|
||||||
StrCpy $DictCodes "be_BY,$DictCodes"
|
StrCpy $DictCodes "be_BY,$DictCodes"
|
||||||
AddSize 1730
|
AddSize 1730
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -102,17 +102,17 @@ Section /o "Brezhoneg" SecDBreton
|
|||||||
AddSize 5510
|
AddSize 5510
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Bulgarian" SecDBulgarian
|
Section /o "български" SecDBulgarian
|
||||||
StrCpy $DictCodes "bg_BG,$DictCodes"
|
StrCpy $DictCodes "bg_BG,$DictCodes"
|
||||||
AddSize 985
|
AddSize 985
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Català" SecDCatalanian
|
Section /o "Català" SecDCatalanian
|
||||||
StrCpy $DictCodes "ca_ES,$DictCodes"
|
StrCpy $DictCodes "ca_ES,$DictCodes"
|
||||||
AddSize 1210
|
AddSize 1210
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Ceština" SecDCzech
|
Section /o "Ceština" SecDCzech
|
||||||
StrCpy $DictCodes "cs_CZ,$DictCodes"
|
StrCpy $DictCodes "cs_CZ,$DictCodes"
|
||||||
AddSize 2190
|
AddSize 2190
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -132,24 +132,24 @@ Section /o "Dansk" SecDDanish
|
|||||||
AddSize 2470
|
AddSize 2470
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "German (A)" SecDGermanAT
|
Section /o "Deutsch (A)" SecDGermanAT
|
||||||
StrCpy $DictCodes "de_AT,$DictCodes"
|
StrCpy $DictCodes "de_AT,$DictCodes"
|
||||||
AddSize 3620
|
AddSize 3620
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "German (CH)" SecDGermanCH
|
Section /o "Deutsch (CH)" SecDGermanCH
|
||||||
StrCpy $DictCodes "de_CH,$DictCodes"
|
StrCpy $DictCodes "de_CH,$DictCodes"
|
||||||
AddSize 3620
|
AddSize 3620
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "German (D)" SecDGermanD
|
Section "Deutsch (D)" SecDGermanD
|
||||||
# already installed by default
|
# already installed by default
|
||||||
SectionIn RO
|
SectionIn RO
|
||||||
#StrCpy $DictCodes "de_DE,$DictCodes"
|
#StrCpy $DictCodes "de_DE,$DictCodes"
|
||||||
AddSize 3620
|
AddSize 3620
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Greek" SecDGreek
|
Section /o "Ελληνικά" SecDGreek
|
||||||
StrCpy $DictCodes "el_GR,$DictCodes"
|
StrCpy $DictCodes "el_GR,$DictCodes"
|
||||||
AddSize 6550
|
AddSize 6550
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -188,14 +188,14 @@ Section "English (US)" SecDEnglishUS
|
|||||||
AddSize 548
|
AddSize 548
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Español (ES)" SecDSpanishES
|
Section "Español (ES)" SecDSpanishES
|
||||||
# already installed by default
|
# already installed by default
|
||||||
SectionIn RO
|
SectionIn RO
|
||||||
#StrCpy $DictCodes "es_ES,$DictCodes"
|
#StrCpy $DictCodes "es_ES,$DictCodes"
|
||||||
AddSize 974
|
AddSize 974
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Español (MX)" SecDSpanishMX
|
Section "Español (MX)" SecDSpanishMX
|
||||||
# already installed by default
|
# already installed by default
|
||||||
SectionIn RO
|
SectionIn RO
|
||||||
#StrCpy $DictCodes "es_MX,$DictCodes"
|
#StrCpy $DictCodes "es_MX,$DictCodes"
|
||||||
@ -217,14 +217,14 @@ Section /o "Farsi" SecDFarsi
|
|||||||
AddSize 6710
|
AddSize 6710
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Français" SecDFrench
|
Section "Français" SecDFrench
|
||||||
# already installed by default
|
# already installed by default
|
||||||
SectionIn RO
|
SectionIn RO
|
||||||
#StrCpy $DictCodes "fr_FR,$DictCodes"
|
#StrCpy $DictCodes "fr_FR,$DictCodes"
|
||||||
AddSize 1200
|
AddSize 1200
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Français (Canada)" SecDFrenchCanada
|
Section /o "Français (Canada)" SecDFrenchCanada
|
||||||
StrCpy $DictCodes "fr_CA,$DictCodes"
|
StrCpy $DictCodes "fr_CA,$DictCodes"
|
||||||
AddSize 1390
|
AddSize 1390
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -234,7 +234,7 @@ Section /o "Gaeilge" SecDGaelic
|
|||||||
AddSize 1090
|
AddSize 1090
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Gàidhlig" SecDScottish
|
Section /o "Gàidhlig" SecDScottish
|
||||||
StrCpy $DictCodes "gd_GB,$DictCodes"
|
StrCpy $DictCodes "gd_GB,$DictCodes"
|
||||||
AddSize 4161
|
AddSize 4161
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -244,7 +244,7 @@ Section /o "Galego" SecDGalician
|
|||||||
AddSize 3911
|
AddSize 3911
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Hebrew" SecDHebrew
|
Section /o "עִברִית" SecDHebrew
|
||||||
StrCpy $DictCodes "he_IL,$DictCodes"
|
StrCpy $DictCodes "he_IL,$DictCodes"
|
||||||
AddSize 3120
|
AddSize 3120
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -259,7 +259,7 @@ Section /o "Magyar" SecDHungarian
|
|||||||
AddSize 3380
|
AddSize 3380
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Hindi" SecDHindi
|
Section /o "हिंदी" SecDHindi
|
||||||
StrCpy $DictCodes "hi_IN,$DictCodes"
|
StrCpy $DictCodes "hi_IN,$DictCodes"
|
||||||
AddSize 1900
|
AddSize 1900
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -269,7 +269,7 @@ Section /o "Interlingua" SecDInterlingua
|
|||||||
AddSize 613
|
AddSize 613
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Íslenska" SecDIcelandic
|
Section /o "Íslenska" SecDIcelandic
|
||||||
StrCpy $DictCodes "is_IS,$DictCodes"
|
StrCpy $DictCodes "is_IS,$DictCodes"
|
||||||
AddSize 2320
|
AddSize 2320
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -279,12 +279,12 @@ Section /o "Italiano" SecDItalian
|
|||||||
AddSize 1380
|
AddSize 1380
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Kazakh" SecDKazakh
|
Section /o "Қазақша" SecDKazakh
|
||||||
StrCpy $DictCodes "kk_KZ,$DictCodes"
|
StrCpy $DictCodes "kk_KZ,$DictCodes"
|
||||||
AddSize 2120
|
AddSize 2120
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Korean" SecDKorean
|
Section /o "한국어" SecDKorean
|
||||||
StrCpy $DictCodes "ko_KR,$DictCodes"
|
StrCpy $DictCodes "ko_KR,$DictCodes"
|
||||||
AddSize 16540
|
AddSize 16540
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -299,12 +299,12 @@ Section /o "Lietuviu" SecDLithuanian
|
|||||||
AddSize 1320
|
AddSize 1320
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Latviešu" SecDLatvian
|
Section /o "Latviešu" SecDLatvian
|
||||||
StrCpy $DictCodes "lv_LV,$DictCodes"
|
StrCpy $DictCodes "lv_LV,$DictCodes"
|
||||||
AddSize 2243
|
AddSize 2243
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Marathi" SecDMarathi
|
Section /o "मराठी" SecDMarathi
|
||||||
StrCpy $DictCodes "mr_IN,$DictCodes"
|
StrCpy $DictCodes "mr_IN,$DictCodes"
|
||||||
AddSize 5290
|
AddSize 5290
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -314,7 +314,7 @@ Section /o "Nederlands" SecDDutch
|
|||||||
AddSize 1820
|
AddSize 1820
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Norsk (Bokmål)" SecDNorwegianNB
|
Section /o "Norsk (Bokmål)" SecDNorwegianNB
|
||||||
StrCpy $DictCodes "nb_NO,$DictCodes"
|
StrCpy $DictCodes "nb_NO,$DictCodes"
|
||||||
AddSize 5291
|
AddSize 5291
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -334,32 +334,32 @@ Section /o "Polski" SecDPolish
|
|||||||
AddSize 4540
|
AddSize 4540
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Português (BR)" SecDPortugueseBR
|
Section /o "Português (BR)" SecDPortugueseBR
|
||||||
StrCpy $DictCodes "pt_BR,$DictCodes"
|
StrCpy $DictCodes "pt_BR,$DictCodes"
|
||||||
AddSize 5280
|
AddSize 5280
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Português (PT)" SecDPortuguesePT
|
Section /o "Português (PT)" SecDPortuguesePT
|
||||||
StrCpy $DictCodes "pt_PT,$DictCodes"
|
StrCpy $DictCodes "pt_PT,$DictCodes"
|
||||||
AddSize 1568
|
AddSize 1568
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Româna" SecDRomanian
|
Section /o "Româna" SecDRomanian
|
||||||
StrCpy $DictCodes "ro_RO,$DictCodes"
|
StrCpy $DictCodes "ro_RO,$DictCodes"
|
||||||
AddSize 2255
|
AddSize 2255
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Russian" SecDRussian
|
Section /o "Русский" SecDRussian
|
||||||
StrCpy $DictCodes "ru_RU,$DictCodes"
|
StrCpy $DictCodes "ru_RU,$DictCodes"
|
||||||
AddSize 1920
|
AddSize 1920
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Serbšcina (Dolno)" SecDSorbianD
|
Section /o "Serbšcina (Dolno)" SecDSorbianD
|
||||||
StrCpy $DictCodes "dsb_DE,$DictCodes"
|
StrCpy $DictCodes "dsb_DE,$DictCodes"
|
||||||
AddSize 1035
|
AddSize 1035
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Serbšcina (Horno)" SecDSorbianH
|
Section /o "Serbšcina (Horno)" SecDSorbianH
|
||||||
StrCpy $DictCodes "hsb_DE,$DictCodes"
|
StrCpy $DictCodes "hsb_DE,$DictCodes"
|
||||||
AddSize 740
|
AddSize 740
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -369,17 +369,17 @@ Section /o "Shqipe" SecDAlbanian
|
|||||||
AddSize 2400
|
AddSize 2400
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Slovenšcina" SecDSlovenian
|
Section /o "Slovenšcina" SecDSlovenian
|
||||||
StrCpy $DictCodes "sl_SI,$DictCodes"
|
StrCpy $DictCodes "sl_SI,$DictCodes"
|
||||||
AddSize 2910
|
AddSize 2910
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Slovenský" SecDSlovakian
|
Section /o "Slovenský" SecDSlovakian
|
||||||
StrCpy $DictCodes "sk_SK,$DictCodes"
|
StrCpy $DictCodes "sk_SK,$DictCodes"
|
||||||
AddSize 3310
|
AddSize 3310
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Srpski (Cirilica)" SecDSerbianC
|
Section /o "Српски (Ћирилица)" SecDSerbianC
|
||||||
StrCpy $DictCodes "sr_RS,$DictCodes"
|
StrCpy $DictCodes "sr_RS,$DictCodes"
|
||||||
AddSize 4401
|
AddSize 4401
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -394,17 +394,17 @@ Section /o "Svenska" SecDSwedish
|
|||||||
AddSize 2028
|
AddSize 2028
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Tamil" SecDTamil
|
Section /o "தமிழ்" SecDTamil
|
||||||
StrCpy $DictCodes "ta_IN,$DictCodes"
|
StrCpy $DictCodes "ta_IN,$DictCodes"
|
||||||
AddSize 5911
|
AddSize 5911
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Telugu" SecDTelugu
|
Section /o "తెలుగు" SecDTelugu
|
||||||
StrCpy $DictCodes "te_IN,$DictCodes"
|
StrCpy $DictCodes "te_IN,$DictCodes"
|
||||||
AddSize 3400
|
AddSize 3400
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Thai" SecDThai
|
Section /o "ไทย" SecDThai
|
||||||
StrCpy $DictCodes "th_TH,$DictCodes"
|
StrCpy $DictCodes "th_TH,$DictCodes"
|
||||||
AddSize 351
|
AddSize 351
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -414,27 +414,27 @@ Section /o "Tibetan" SecDTibetan
|
|||||||
AddSize 7
|
AddSize 7
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Türkmençe" SecDTurkmen
|
Section /o "Türkmençe" SecDTurkmen
|
||||||
StrCpy $DictCodes "tk_TM,$DictCodes"
|
StrCpy $DictCodes "tk_TM,$DictCodes"
|
||||||
AddSize 950
|
AddSize 950
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Türkçe" SecDTurkish
|
Section /o "Türkçe" SecDTurkish
|
||||||
StrCpy $DictCodes "tr_TR,$DictCodes"
|
StrCpy $DictCodes "tr_TR,$DictCodes"
|
||||||
AddSize 8870
|
AddSize 8870
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Ukrainian" SecDUkrainian
|
Section /o "Українська" SecDUkrainian
|
||||||
StrCpy $DictCodes "uk_UA,$DictCodes"
|
StrCpy $DictCodes "uk_UA,$DictCodes"
|
||||||
AddSize 5555
|
AddSize 5555
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Urdu" SecDUrdu
|
Section /o "اردو" SecDUrdu
|
||||||
StrCpy $DictCodes "ur_PK,$DictCodes"
|
StrCpy $DictCodes "ur_PK,$DictCodes"
|
||||||
AddSize 1401
|
AddSize 1401
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Vietnamese" SecDVietnamese
|
Section /o "Tiếng Việt" SecDVietnamese
|
||||||
StrCpy $DictCodes "vi_VN,$DictCodes"
|
StrCpy $DictCodes "vi_VN,$DictCodes"
|
||||||
AddSize 40
|
AddSize 40
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -442,19 +442,19 @@ SectionEnd
|
|||||||
SectionGroupEnd
|
SectionGroupEnd
|
||||||
|
|
||||||
|
|
||||||
SectionGroup "Thesaurus" SecThesaurus
|
SectionGroup "$(SecThesaurus)" SecThesaurus
|
||||||
|
|
||||||
Section /o "Bulgarian" SecTBulgarian
|
Section /o "български" SecTBulgarian
|
||||||
StrCpy $ThesCodes "bg_BG,$ThesCodes"
|
StrCpy $ThesCodes "bg_BG,$ThesCodes"
|
||||||
AddSize 3020
|
AddSize 3020
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Català" SecTCatalan
|
Section /o "Català" SecTCatalan
|
||||||
StrCpy $ThesCodes "ca_ES,$ThesCodes"
|
StrCpy $ThesCodes "ca_ES,$ThesCodes"
|
||||||
AddSize 731
|
AddSize 731
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Ceština" SecTCzech
|
Section /o "Ceština" SecTCzech
|
||||||
StrCpy $ThesCodes "cs_CZ,$ThesCodes"
|
StrCpy $ThesCodes "cs_CZ,$ThesCodes"
|
||||||
AddSize 635
|
AddSize 635
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -489,12 +489,12 @@ Section /o "English (US)" SecTEnglishUS
|
|||||||
AddSize 22095
|
AddSize 22095
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Español" SecTSpanish
|
Section /o "Español" SecTSpanish
|
||||||
StrCpy $ThesCodes "es_ES,$ThesCodes"
|
StrCpy $ThesCodes "es_ES,$ThesCodes"
|
||||||
AddSize 2860
|
AddSize 2860
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Français" SecTFrench
|
Section /o "Français" SecTFrench
|
||||||
StrCpy $ThesCodes "fr_FR,$ThesCodes"
|
StrCpy $ThesCodes "fr_FR,$ThesCodes"
|
||||||
AddSize 5060
|
AddSize 5060
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -509,12 +509,12 @@ Section /o "Galego" SecTGalician
|
|||||||
AddSize 510
|
AddSize 510
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Greek" SecTGreek
|
Section /o "Ελληνικά" SecTGreek
|
||||||
StrCpy $ThesCodes "el_GR,$ThesCodes"
|
StrCpy $ThesCodes "el_GR,$ThesCodes"
|
||||||
AddSize 903
|
AddSize 903
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Íslenska" SecTIcelandic
|
Section /o "Íslenska" SecTIcelandic
|
||||||
StrCpy $ThesCodes "is_IS,$ThesCodes"
|
StrCpy $ThesCodes "is_IS,$ThesCodes"
|
||||||
AddSize 63
|
AddSize 63
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -529,7 +529,7 @@ Section /o "Magyar" SecTHungarian
|
|||||||
AddSize 632
|
AddSize 632
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Norsk (Bokmål)" SecTNorwegianNB
|
Section /o "Norsk (Bokmål)" SecTNorwegianNB
|
||||||
StrCpy $ThesCodes "nb_NO,$ThesCodes"
|
StrCpy $ThesCodes "nb_NO,$ThesCodes"
|
||||||
AddSize 2595
|
AddSize 2595
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -544,27 +544,27 @@ Section /o "Polski" SecTPolish
|
|||||||
AddSize 5580
|
AddSize 5580
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Português" SecTPortuguese
|
Section /o "Português" SecTPortuguese
|
||||||
StrCpy $ThesCodes "pt_PT,$ThesCodes"
|
StrCpy $ThesCodes "pt_PT,$ThesCodes"
|
||||||
AddSize 3950
|
AddSize 3950
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Româna" SecTRomanian
|
Section /o "Româna" SecTRomanian
|
||||||
StrCpy $ThesCodes "ro_RO,$ThesCodes"
|
StrCpy $ThesCodes "ro_RO,$ThesCodes"
|
||||||
AddSize 3650
|
AddSize 3650
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Russian" SecTRussian
|
Section /o "Русский" SecTRussian
|
||||||
StrCpy $ThesCodes "ru_RU,$ThesCodes"
|
StrCpy $ThesCodes "ru_RU,$ThesCodes"
|
||||||
AddSize 2080
|
AddSize 2080
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Slovenšcina" SecTSlovenian
|
Section /o "Slovenšcina" SecTSlovenian
|
||||||
StrCpy $ThesCodes "sl_SI,$ThesCodes"
|
StrCpy $ThesCodes "sl_SI,$ThesCodes"
|
||||||
AddSize 1110
|
AddSize 1110
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Slovenský" SecTSlovakian
|
Section /o "Slovenský" SecTSlovakian
|
||||||
StrCpy $ThesCodes "sk_SK,$ThesCodes"
|
StrCpy $ThesCodes "sk_SK,$ThesCodes"
|
||||||
AddSize 930
|
AddSize 930
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -574,7 +574,7 @@ Section /o "Svenska" SecTSwedish
|
|||||||
AddSize 720
|
AddSize 720
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "Ukrainian" SecTUkrainian
|
Section /o "Українська" SecTUkrainian
|
||||||
StrCpy $ThesCodes "uk_UA,$ThesCodes"
|
StrCpy $ThesCodes "uk_UA,$ThesCodes"
|
||||||
AddSize 1339
|
AddSize 1339
|
||||||
SectionEnd
|
SectionEnd
|
||||||
@ -603,28 +603,37 @@ Function .onInit
|
|||||||
Quit
|
Quit
|
||||||
${endif}
|
${endif}
|
||||||
|
|
||||||
|
# fixme
|
||||||
# check that the installer is not currently running
|
# check that the installer is not currently running
|
||||||
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${BundleExeFile}.Instance") i .r1 ?e'
|
FindProcDLL::FindProc "${BundleExeFile}"
|
||||||
Pop $R0
|
${if} $R0 == "1"
|
||||||
${if} $R0 != "0"
|
|
||||||
MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" /SD IDOK
|
MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" /SD IDOK
|
||||||
Abort
|
Abort
|
||||||
${endif}
|
${endif}
|
||||||
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${ExeFile}.Instance") i .r1 ?e'
|
FindProcDLL::FindProc "${ExeFile}"
|
||||||
Pop $R0
|
#${if} $R0 == "1"
|
||||||
${if} $R0 != "0"
|
# MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" /SD IDOK
|
||||||
MessageBox MB_OK|MB_ICONSTOP "$(InstallRunning)" /SD IDOK
|
|
||||||
Abort
|
|
||||||
${endif}
|
|
||||||
|
|
||||||
# FIXME: check that LyX is not currently running
|
|
||||||
#System::Call 'kernel32::CreateMutexA(i 0, i 0, t "LyX.exe.Instance") i .r1 ?e'
|
|
||||||
#Pop $R0
|
|
||||||
#MessageBox MB_OK "$R0"
|
|
||||||
#${if} $R0 != "0"
|
|
||||||
# MessageBox MB_OK|MB_ICONSTOP "$(LyXRunning)"
|
|
||||||
# Abort
|
# Abort
|
||||||
#${endif}
|
#${endif}
|
||||||
|
#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)" /SD IDOK
|
||||||
|
# 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)" /SD IDOK
|
||||||
|
# Abort
|
||||||
|
#${endif}
|
||||||
|
|
||||||
|
# Check that LyX is not currently running
|
||||||
|
FindProcDLL::FindProc "lyx.exe"
|
||||||
|
${if} $R0 == "1"
|
||||||
|
MessageBox MB_OK|MB_ICONSTOP "$(UnInstallRunning)" /SD IDOK
|
||||||
|
Abort
|
||||||
|
${endif}
|
||||||
|
|
||||||
# read the user and computer name
|
# read the user and computer name
|
||||||
ReadRegStr $ComputerName HKLM "System\CurrentControlSet\Control\ComputerName\ActiveComputerName" "ComputerName"
|
ReadRegStr $ComputerName HKLM "System\CurrentControlSet\Control\ComputerName\ActiveComputerName" "ComputerName"
|
||||||
@ -1477,4 +1486,3 @@ Function un.onInit
|
|||||||
Abort
|
Abort
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
@ -10,9 +10,12 @@ Compatible with NSIS 3.0
|
|||||||
# was not corrupted by the download.
|
# was not corrupted by the download.
|
||||||
CRCCheck force
|
CRCCheck force
|
||||||
#
|
#
|
||||||
# Make the installer as small as possible.
|
# Make the installer as small as possible
|
||||||
SetCompressor /SOLID lzma
|
SetCompressor /SOLID lzma
|
||||||
|
|
||||||
|
# make it a Unicode installer
|
||||||
|
Unicode true
|
||||||
|
|
||||||
!ifndef SETUPTYPE
|
!ifndef SETUPTYPE
|
||||||
!define SETUPTYPE BUNDLE
|
!define SETUPTYPE BUNDLE
|
||||||
!endif
|
!endif
|
||||||
|
@ -8,9 +8,12 @@ Compatible with NSIS 3.0
|
|||||||
# was not corrupted by the download.
|
# was not corrupted by the download.
|
||||||
CRCCheck force
|
CRCCheck force
|
||||||
#
|
#
|
||||||
# Make the installer as small as possible.
|
# Make the installer as small as possible
|
||||||
SetCompressor /SOLID lzma
|
SetCompressor /SOLID lzma
|
||||||
|
|
||||||
|
# make it a Unicode installer
|
||||||
|
Unicode true
|
||||||
|
|
||||||
!ifndef SETUPTYPE
|
!ifndef SETUPTYPE
|
||||||
!define SETUPTYPE STANDARD
|
!define SETUPTYPE STANDARD
|
||||||
!endif
|
!endif
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
Settings for LyX installer
|
Settings for LyX installer
|
||||||
|
|
||||||
@ -31,9 +31,6 @@ These typically need to be modified for each LyX release
|
|||||||
!ifndef BundleExeFile
|
!ifndef BundleExeFile
|
||||||
!define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Bundle-${APP_VERSION_BUILD}.exe"
|
!define BundleExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}${APP_VERSION_REVISION}${APP_VERSION_EMERGENCY}-Bundle-${APP_VERSION_BUILD}.exe"
|
||||||
!endif
|
!endif
|
||||||
!ifndef MinimalExeFile
|
|
||||||
!define /date MinimalExeFile "LyX-${APP_VERSION_MAJOR}${APP_VERSION_MINOR}svn-%Y%m%d-Installer-Minimal.exe"
|
|
||||||
!endif
|
|
||||||
|
|
||||||
#--------------------------------
|
#--------------------------------
|
||||||
# File locations
|
# File locations
|
||||||
|
Loading…
Reference in New Issue
Block a user