installer: prepare for a LyX 2.1beta release

This commit is contained in:
Uwe Stöhr 2013-05-31 04:27:08 +02:00
parent bf7af9fd07
commit fd6151e394
3 changed files with 67 additions and 74 deletions

View File

@ -48,8 +48,9 @@ Section "!${APP_NAME}" SecCore
SectionIn RO SectionIn RO
SectionEnd SectionEnd
Section "$(SecFileAssocTitle)" SecFileAssoc Section /o "$(SecFileAssocTitle)" SecFileAssoc
StrCpy $CreateFileAssociations "true" SectionIn RO # remove this line LyX 2.1 final!
#StrCpy $CreateFileAssociations "true"
SectionEnd SectionEnd
Section "$(SecDesktopTitle)" SecDesktop Section "$(SecDesktopTitle)" SecDesktop
@ -118,11 +119,10 @@ Section /o "Ce
AddSize 2190 AddSize 2190
SectionEnd SectionEnd
# enable this for LyX 2.1! Section /o "Coptic" SecDCoptic
#Section /o "Coptic" SecDCoptic StrCpy $DictCodes "cop_EG,$DictCodes"
# StrCpy $DictCodes "cop_EG,$DictCodes" AddSize 151
# AddSize 151 SectionEnd
#SectionEnd
Section /o "Cymraeg" SecDWelsh Section /o "Cymraeg" SecDWelsh
StrCpy $DictCodes "cy_GB,$DictCodes" StrCpy $DictCodes "cy_GB,$DictCodes"
@ -161,11 +161,10 @@ Section /o "Eesti" SecDEstonian
AddSize 4400 AddSize 4400
SectionEnd SectionEnd
# enable this for LyX 2.1! Section /o "English (AU)" SecDEnglishAU
#Section /o "English (AU)" SecDEnglishAU StrCpy $DictCodes "en_AU,$DictCodes"
# StrCpy $DictCodes "en_AU,$DictCodes" AddSize 587
# AddSize 587 SectionEnd
#SectionEnd
Section /o "English (CA)" SecDEnglishCA Section /o "English (CA)" SecDEnglishCA
StrCpy $DictCodes "en_CA,$DictCodes" StrCpy $DictCodes "en_CA,$DictCodes"
@ -179,11 +178,10 @@ Section "English (GB)" SecDEnglishGB
AddSize 757 AddSize 757
SectionEnd SectionEnd
# enable this for LyX 2.1! Section /o "English (NZ)" SecDEnglishNZ
#Section /o "English (NZ)" SecDEnglishNZ StrCpy $DictCodes "en_NZ,$DictCodes"
# StrCpy $DictCodes "en_NZ,$DictCodes" AddSize 551
# AddSize 551 SectionEnd
#SectionEnd
Section "English (US)" SecDEnglishUS Section "English (US)" SecDEnglishUS
# already installed by default # already installed by default
@ -263,11 +261,10 @@ Section /o "Magyar" SecDHungarian
AddSize 3380 AddSize 3380
SectionEnd SectionEnd
# enable this for LyX 2.1! Section /o "Hindi" SecDHindi
#Section /o "Hindi" SecDHindi StrCpy $DictCodes "hi_IN,$DictCodes"
# StrCpy $DictCodes "hi_IN,$DictCodes" AddSize 1900
# AddSize 1900 SectionEnd
#SectionEnd
Section /o "Interlingua" SecDInterlingua Section /o "Interlingua" SecDInterlingua
StrCpy $DictCodes "ia_IA,$DictCodes" StrCpy $DictCodes "ia_IA,$DictCodes"
@ -309,11 +306,10 @@ Section /o "Latvie
AddSize 2243 AddSize 2243
SectionEnd SectionEnd
# enable this for LyX 2.1! Section /o "Marathi" SecDMarathi
#Section /o "Marathi" SecDMarathi StrCpy $DictCodes "mr_IN,$DictCodes"
# StrCpy $DictCodes "mr_IN,$DictCodes" AddSize 5290
# AddSize 5290 SectionEnd
#SectionEnd
Section /o "Nederlands" SecDDutch Section /o "Nederlands" SecDDutch
StrCpy $DictCodes "nl_NL,$DictCodes" StrCpy $DictCodes "nl_NL,$DictCodes"
@ -330,11 +326,10 @@ Section /o "Norsk (Nynorsk)" SecDNorwegianNN
AddSize 1515 AddSize 1515
SectionEnd SectionEnd
# enable this for LyX 2.1! Section /o "Occitan" SecDOccitan
#Section /o "Occitan" SecDOccitan StrCpy $DictCodes "oc_FR,$DictCodes"
# StrCpy $DictCodes "oc_FR,$DictCodes" AddSize 31710
# AddSize 31710 SectionEnd
#SectionEnd
Section /o "Polski" SecDPolish Section /o "Polski" SecDPolish
StrCpy $DictCodes "pl_PL,$DictCodes" StrCpy $DictCodes "pl_PL,$DictCodes"
@ -401,17 +396,15 @@ Section /o "Svenska" SecDSwedish
AddSize 2028 AddSize 2028
SectionEnd SectionEnd
# enable this for LyX 2.1! Section /o "Tamil" SecDTamil
#Section /o "Tamil" SecDTamil StrCpy $DictCodes "ta_IN,$DictCodes"
# StrCpy $DictCodes "ta_IN,$DictCodes" AddSize 5911
# AddSize 5911 SectionEnd
#SectionEnd
# enable this for LyX 2.1! Section /o "Telugu" SecDTelugu
#Section /o "Telugu" SecDTelugu StrCpy $DictCodes "te_IN,$DictCodes"
# StrCpy $DictCodes "te_IN,$DictCodes" AddSize 3400
# AddSize 3400 SectionEnd
#SectionEnd
Section /o "Thai" SecDThai Section /o "Thai" SecDThai
StrCpy $DictCodes "th_TH,$DictCodes" StrCpy $DictCodes "th_TH,$DictCodes"
@ -423,11 +416,10 @@ Section /o "Ukrainian" SecDUkrainian
AddSize 2620 AddSize 2620
SectionEnd SectionEnd
# enable this for LyX 2.1! Section /o "Urdu" SecDUrdu
#Section /o "Urdu" SecDUrdu StrCpy $DictCodes "ur_PK,$DictCodes"
# StrCpy $DictCodes "ur_PK,$DictCodes" AddSize 1401
# AddSize 1401 SectionEnd
#SectionEnd
Section /o "Vietnamese" SecDVietnamese Section /o "Vietnamese" SecDVietnamese
StrCpy $DictCodes "vi_VN,$DictCodes" StrCpy $DictCodes "vi_VN,$DictCodes"
@ -770,9 +762,8 @@ Function .onInit
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO} IntOp $0 ${SF_SELECTED} | ${SF_RO}
# enable this for LyX 2.1! SectionSetFlags ${SecDCoptic} $0
# SectionSetFlags ${SecDCoptic} $0 SectionSetSize ${SecDCoptic} 0
# SectionSetSize ${SecDCoptic} 0
${endif} ${endif}
StrCpy $Search "cy_GB" StrCpy $Search "cy_GB"
Call StrPoint Call StrPoint
@ -827,9 +818,8 @@ Function .onInit
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO} IntOp $0 ${SF_SELECTED} | ${SF_RO}
# enable this for LyX 2.1! SectionSetFlags ${SecDEnglishAU} $0
# SectionSetFlags ${SecDEnglishAU} $0 SectionSetSize ${SecDEnglishAU} 0
# SectionSetSize ${SecDEnglishAU} 0
${endif} ${endif}
StrCpy $Search "en_CA" StrCpy $Search "en_CA"
Call StrPoint Call StrPoint
@ -849,9 +839,8 @@ Function .onInit
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO} IntOp $0 ${SF_SELECTED} | ${SF_RO}
# enable this for LyX 2.1! SectionSetFlags ${SecDEnglishNZ} $0
# SectionSetFlags ${SecDEnglishNZ} $0 SectionSetSize ${SecDEnglishNZ} 0
# SectionSetSize ${SecDEnglishNZ} 0
${endif} ${endif}
StrCpy $Search "en_US" StrCpy $Search "en_US"
Call StrPoint Call StrPoint
@ -941,9 +930,8 @@ Function .onInit
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO} IntOp $0 ${SF_SELECTED} | ${SF_RO}
# enable this for LyX 2.1! SectionSetFlags ${SecDHindi} $0
# SectionSetFlags ${SecDHindi} $0 SectionSetSize ${SecDHindi} 0
# SectionSetSize ${SecDHindi} 0
${endif} ${endif}
StrCpy $Search "hr_HR" StrCpy $Search "hr_HR"
Call StrPoint Call StrPoint
@ -1015,6 +1003,13 @@ Function .onInit
SectionSetFlags ${SecDLatvian} $0 SectionSetFlags ${SecDLatvian} $0
SectionSetSize ${SecDLatvian} 0 SectionSetSize ${SecDLatvian} 0
${endif} ${endif}
StrCpy $Search "mr_IN"
Call StrPoint
${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO}
SectionSetFlags ${SecDMarathi} $0
SectionSetSize ${SecDMarathi} 0
${endif}
StrCpy $Search "nl_NL" StrCpy $Search "nl_NL"
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
@ -1040,9 +1035,8 @@ Function .onInit
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO} IntOp $0 ${SF_SELECTED} | ${SF_RO}
# enable this for LyX 2.1! SectionSetFlags ${SecDOccitan} $0
# SectionSetFlags ${SecDOccitan} $0 SectionSetSize ${SecDOccitan} 0
# SectionSetSize ${SecDOccitan} 0
${endif} ${endif}
StrCpy $Search "pl_PL" StrCpy $Search "pl_PL"
Call StrPoint Call StrPoint
@ -1139,17 +1133,15 @@ Function .onInit
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO} IntOp $0 ${SF_SELECTED} | ${SF_RO}
# enable this for LyX 2.1! SectionSetFlags ${SecDTamil} $0
# SectionSetFlags ${SecDTamil} $0 SectionSetSize ${SecDTamil} 0
# SectionSetSize ${SecDTamil} 0
${endif} ${endif}
StrCpy $Search "te_IN" StrCpy $Search "te_IN"
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO} IntOp $0 ${SF_SELECTED} | ${SF_RO}
# enable this for LyX 2.1! SectionSetFlags ${SecDTelugu} $0
# SectionSetFlags ${SecDTelugu} $0 SectionSetSize ${SecDTelugu} 0
# SectionSetSize ${SecDTelugu} 0
${endif} ${endif}
StrCpy $Search "th_TH" StrCpy $Search "th_TH"
Call StrPoint Call StrPoint
@ -1169,9 +1161,8 @@ Function .onInit
Call StrPoint Call StrPoint
${if} $Pointer != "-1" ${if} $Pointer != "-1"
IntOp $0 ${SF_SELECTED} | ${SF_RO} IntOp $0 ${SF_SELECTED} | ${SF_RO}
# enable this for LyX 2.1! SectionSetFlags ${SecDUrdu} $0
# SectionSetFlags ${SecDUrdu} $0 SectionSetSize ${SecDUrdu} 0
# SectionSetSize ${SecDUrdu} 0
${endif} ${endif}
StrCpy $Search "vi_VN" StrCpy $Search "vi_VN"
Call StrPoint Call StrPoint

View File

@ -90,7 +90,10 @@ Section -Configure
# .lyx15 # .lyx15
WriteRegStr SHCTX "Software\Classes\${APP_EXT}15" "" "${APP_REGNAME_DOC}" WriteRegStr SHCTX "Software\Classes\${APP_EXT}15" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}15" "Content Type" "${APP_MIME_TYPE}" WriteRegStr SHCTX "Software\Classes\${APP_EXT}15" "Content Type" "${APP_MIME_TYPE}"
# .lyx16 don't set this, because this is designed to be opened with LyX 1.6.x # .lyx16
WriteRegStr SHCTX "Software\Classes\${APP_EXT}16" "" "${APP_REGNAME_DOC}"
WriteRegStr SHCTX "Software\Classes\${APP_EXT}16" "Content Type" "${APP_MIME_TYPE}"
# .lyx20 don't set this, because this is designed to be opened with LyX 2.0.x
# Refresh shell # Refresh shell
${RefreshShellIcons} ${RefreshShellIcons}

View File

@ -52,8 +52,7 @@ Section "un.LyX" un.SecUnProgramFiles
DeleteRegKey SHCTX "Software\Classes\${APP_EXT}14" DeleteRegKey SHCTX "Software\Classes\${APP_EXT}14"
DeleteRegKey SHCTX "Software\Classes\${APP_EXT}15" DeleteRegKey SHCTX "Software\Classes\${APP_EXT}15"
DeleteRegKey SHCTX "Software\Classes\${APP_EXT}16" DeleteRegKey SHCTX "Software\Classes\${APP_EXT}16"
# enable this for LyX 2.1! DeleteRegKey SHCTX "Software\Classes\${APP_EXT}20"
# DeleteRegKey SHCTX "Software\Classes\${APP_EXT}20"
DeleteRegKey SHCTX "Software\Classes\${APP_EXT}" DeleteRegKey SHCTX "Software\Classes\${APP_EXT}"
DeleteRegKey SHCTX "Software\Classes\${APP_REGNAME_DOC}" DeleteRegKey SHCTX "Software\Classes\${APP_REGNAME_DOC}"
${endif} ${endif}