diff --git a/windows/installer.nsi b/windows/installer.nsi index ef4d0dc35..51a1f34ab 100644 --- a/windows/installer.nsi +++ b/windows/installer.nsi @@ -138,37 +138,41 @@ notRunning: File "Qt5WebChannel.dll" File "Qt5Widgets.dll" File "QtWebEngineProcess.exe" - + SetOutPath "$INSTDIR\iconengines" File "iconengines\qsvgicon.dll" - + SetOutPath "$INSTDIR\imageformats" File "imageformats\*.dll" - + SetOutPath "$INSTDIR\platforms" File "platforms\qwindows.dll" SetOutPath "$INSTDIR\printsupport" File "printsupport\windowsprintersupport.dll" - + SetOutPath "$INSTDIR\qml\QtQuick.2" File "qml\QtQuick.2\*" - + SetOutPath "$INSTDIR\qml\QtWebEngine" File "qml\QtWebEngine\*" - + SetOutPath "$INSTDIR\resources" File "resources\*" SetOutPath "$INSTDIR\sqldrivers" File "sqldrivers\qsqlite.dll" - + SetOutPath "$INSTDIR\translations\qtwebengine_locales" File "translations\qtwebengine_locales\*" SetOutPath "$INSTDIR\hunspell\doc" File "wininstall\hunspell\doc\*" + SetOutPath "$INSTDIR\hunspell" + File "wininstall\hunspell\en_US.aff" + File "wininstall\hunspell\en_US.dic" + call RegisterCapabilities SectionEnd @@ -212,252 +216,17 @@ SectionGroup $(TITLE_SecThemes) SecThemes SectionGroupEnd -SectionGroup $(TITLE_SecTranslations) SecTranslations - - Section "English" - SectionIn RO +Section $(TITLE_SecTranslations) SecTranslations + SetOutPath "$INSTDIR\locale" + File "locale\*.qm" SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\en_US.aff" - File "wininstall\hunspell\en_US.dic" - SectionEnd - - Section "Arabic" - SetOutPath "$INSTDIR\locale" - File "locale\ar_SA.qm" - File "locale\qt_ar.qm" - SectionEnd - - Section "Bulgarian" - SetOutPath "$INSTDIR\locale" - File "locale\bg_BG.qm" - SectionEnd - - Section "Catalan" - SetOutPath "$INSTDIR\locale" - File "locale\ca_ES.qm" - File "locale\qt_ca.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\ca_ES.aff" - File "wininstall\hunspell\ca_ES.dic" - SectionEnd - - Section "Czech" - SetOutPath "$INSTDIR\locale" - File "locale\cs_CZ.qm" - File "locale\qt_cs.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\cs_CZ.aff" - File "wininstall\hunspell\cs_CZ.dic" - SectionEnd - - Section "German" - SetOutPath "$INSTDIR\locale" - File "locale\de_DE.qm" - File "locale\qt_de.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\de_DE.aff" - File "wininstall\hunspell\de_DE.dic" - SectionEnd - - Section "Greek" - SetOutPath "$INSTDIR\locale" - File "locale\el_GR.qm" - File "locale\qt_el.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\el_GR.aff" - File "wininstall\hunspell\el_GR.dic" - SectionEnd - - Section "Spanish" - SetOutPath "$INSTDIR\locale" - File "locale\es_ES.qm" - File "locale\es_VE.qm" - File "locale\qt_es.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\es_ES.aff" - File "wininstall\hunspell\es_ES.dic" - File "wininstall\hunspell\es_VE.aff" - File "wininstall\hunspell\es_VE.dic" - SectionEnd - - Section "Basque" - SetOutPath "$INSTDIR\locale" - File "locale\eu_ES.qm" - File "locale\qt_eu.qm" - SectionEnd - - Section "Persian" - SetOutPath "$INSTDIR\locale" - File "locale\fa_IR.qm" - File "locale\qt_fa.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\fa_IR.aff" - File "wininstall\hunspell\fa_IR.dic" - SectionEnd - - Section "French" - SetOutPath "$INSTDIR\locale" - File "locale\fr_FR.qm" - File "locale\qt_fr.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\fr_FR.aff" - File "wininstall\hunspell\fr_FR.dic" - SectionEnd - - Section "Galician" - SetOutPath "$INSTDIR\locale" - File "locale\gl_ES.qm" - File "locale\qt_gl.qm" - SectionEnd - - Section "Hebrew" - SetOutPath "$INSTDIR\locale" - File "locale\he_IL.qm" - File "locale\qt_he.qm" - SectionEnd - - Section "Hungarian" - SetOutPath "$INSTDIR\locale" - File "locale\hu_HU.qm" - File "locale\qt_hu.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\hu_HU.aff" - File "wininstall\hunspell\hu_HU.dic" - SectionEnd - - Section "Indonesian" - SetOutPath "$INSTDIR\locale" - File "locale\id_ID.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\id_ID.aff" - File "wininstall\hunspell\id_ID.dic" - SectionEnd - - Section "Italian" - SetOutPath "$INSTDIR\locale" - File "locale\it_IT.qm" - File "locale\qt_it.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\it_IT.aff" - File "wininstall\hunspell\it_IT.dic" - SectionEnd - - Section "Japanese" - SetOutPath "$INSTDIR\locale" - File "locale\ja_JP.qm" - File "locale\qt_ja.qm" - SectionEnd - - Section "Georgian" - SetOutPath "$INSTDIR\locale" - File "locale\ka_GE.qm" - SectionEnd - - Section "Ganda" - SetOutPath "$INSTDIR\locale" - File "locale\lg.qm" - SectionEnd - - Section "Dutch" - SetOutPath "$INSTDIR\locale" - File "locale\nl_NL.qm" - File "locale\qt_nl.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\nl_NL.aff" - File "wininstall\hunspell\nl_NL.dic" - SectionEnd - - Section "N'ko" - SetOutPath "$INSTDIR\locale" - File "locale\nqo.qm" - SectionEnd - - Section "Polish" - SetOutPath "$INSTDIR\locale" - File "locale\pl_PL.qm" - File "locale\qt_pl.qm" - SectionEnd - - Section "Portuguese" - SetOutPath "$INSTDIR\locale" - File "locale\pt_PT.qm" - File "locale\pt_BR.qm" - File "locale\qt_pt.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\pt_PT.aff" - File "wininstall\hunspell\pt_PT.dic" - File "wininstall\hunspell\pt_BR.aff" - File "wininstall\hunspell\pt_BR.dic" - SectionEnd - - Section "Romanian" - SetOutPath "$INSTDIR\locale" - File "locale\ro_RO.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\ro_RO.aff" - File "wininstall\hunspell\ro_RO.dic" - SectionEnd - - Section "Russian" - SetOutPath "$INSTDIR\locale" - File "locale\ru_RU.qm" - File "locale\qt_ru.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\ru_RU.aff" - File "wininstall\hunspell\ru_RU.dic" - SectionEnd - - Section "Slovak" - SetOutPath "$INSTDIR\locale" - File "locale\sk_SK.qm" - File "locale\qt_sk.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\sk_SK.aff" - File "wininstall\hunspell\sk_SK.dic" - SectionEnd - - Section "Serbian" - SetOutPath "$INSTDIR\locale" - File "locale\sr_BA.qm" - File "locale\sr_RS.qm" - File "locale\qt_sr_BA.qm" - File "locale\qt_sr_RS.qm" - File "locale\sr_BA@latin.qm" - File "locale\sr_RS@latin.qm" - File "locale\qt_sr_BA@latin.qm" - File "locale\qt_sr_RS@latin.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\sr.aff" - File "wininstall\hunspell\sr.dic" - File "wininstall\hunspell\sh.aff" - File "wininstall\hunspell\sh.dic" - SectionEnd - - Section "Swedish" - SetOutPath "$INSTDIR\locale" - File "locale\sv_SE.qm" - File "locale\qt_sv.qm" - SectionEnd - - Section "Ukrainian" - SetOutPath "$INSTDIR\locale" - File "locale\uk_UA.qm" - File "locale\qt_uk.qm" - SetOutPath "$INSTDIR\hunspell" - File "wininstall\hunspell\uk_UA.aff" - File "wininstall\hunspell\uk_UA.dic" - SectionEnd - - Section "Uzbek" - SetOutPath "$INSTDIR\locale" - File "locale\uz@Latn.qm" - SectionEnd - -SectionGroupEnd + File "wininstall\hunspell\*.aff" + File "wininstall\hunspell\*.dic" +SectionEnd Section $(TITLE_SecPlugins) SecPlugins -SetOutPath "$INSTDIR\plugins" -File "plugins\*.dll" + SetOutPath "$INSTDIR\plugins" + File "plugins\*.dll" SectionEnd SectionGroup $(TITLE_SecSetASDefault) SecSetASDefault