1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

[Windows] Updated installer

This commit is contained in:
nowrep 2014-01-29 00:11:51 +01:00
parent 8c40683396
commit 1d1451aee4

View File

@ -1,6 +1,6 @@
; QupZilla Windows Installer NSIS Script ; QupZilla Windows Installer NSIS Script
; Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com> ; Copyright (C) 2010-2014 David Rosca <nowrep@gmail.com>
; 2012-2014 S. Razi Alavizadeh <s.r.alavizadeh@gmail.com> ; 2012-2013 S. Razi Alavizadeh <s.r.alavizadeh@gmail.com>
; ;
; For compiling this script you need following plugins: ; For compiling this script you need following plugins:
; FindProcDLL_plug-in, KillProcDLL_plug-in and 'AllAssociation.nsh' needs ; FindProcDLL_plug-in, KillProcDLL_plug-in and 'AllAssociation.nsh' needs
@ -24,7 +24,7 @@ RequestExecutionLevel admin
SetCompressor /SOLID /FINAL lzma SetCompressor /SOLID /FINAL lzma
!define PRODUCT_NAME "QupZilla" !define PRODUCT_NAME "QupZilla"
!define /date PRODUCT_VERSION "1.6.0" !define /date PRODUCT_VERSION "1.6.1"
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\qupzilla.exe" !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\qupzilla.exe"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM" !define PRODUCT_UNINST_ROOT_KEY "HKLM"
@ -148,6 +148,7 @@ notRunning:
SectionEnd SectionEnd
SectionGroup $(TITLE_SecThemes) SecThemes SectionGroup $(TITLE_SecThemes) SecThemes
Section Default SecDefault Section Default SecDefault
SectionIn RO SectionIn RO
SetOutPath "$INSTDIR\themes\windows" SetOutPath "$INSTDIR\themes\windows"
@ -180,6 +181,7 @@ SectionGroup $(TITLE_SecThemes) SecThemes
SectionGroupEnd SectionGroupEnd
SectionGroup $(TITLE_SecTranslations) SecTranslations SectionGroup $(TITLE_SecTranslations) SecTranslations
Section "English" Section "English"
SectionIn RO SectionIn RO
SetOutPath "$INSTDIR\hunspell" SetOutPath "$INSTDIR\hunspell"
@ -187,6 +189,26 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations
File "wininstall\hunspell\en_US.dic" File "wininstall\hunspell\en_US.dic"
SectionEnd 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" Section "Czech"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\cs_CZ.qm" File "locale\cs_CZ.qm"
@ -196,15 +218,6 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations
File "wininstall\hunspell\cs_CZ.dic" File "wininstall\hunspell\cs_CZ.dic"
SectionEnd 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 "German" Section "German"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\de_DE.qm" File "locale\de_DE.qm"
@ -214,51 +227,6 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations
File "wininstall\hunspell\de_DE.dic" File "wininstall\hunspell\de_DE.dic"
SectionEnd 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 "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 "Chinese"
SetOutPath "$INSTDIR\locale"
File "locale\zh_CN.qm"
File "locale\zh_TW.qm"
File "locale\qt_zh_CN.qm"
File "locale\qt_zh_TW.qm"
SectionEnd
Section "Polish"
SetOutPath "$INSTDIR\locale"
File "locale\pl_PL.qm"
File "locale\qt_pl.qm"
SectionEnd
Section "Spanish"
SetOutPath "$INSTDIR\locale"
File "locale\es_ES.qm"
File "locale\es_VE.qm"
File "locale\es_419.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 "Greek" Section "Greek"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\el_GR.qm" File "locale\el_GR.qm"
@ -268,6 +236,33 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations
File "wininstall\hunspell\el_GR.dic" File "wininstall\hunspell\el_GR.dic"
SectionEnd 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" Section "French"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\fr_FR.qm" File "locale\fr_FR.qm"
@ -277,53 +272,16 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations
File "wininstall\hunspell\fr_FR.dic" File "wininstall\hunspell\fr_FR.dic"
SectionEnd SectionEnd
Section "Russian" Section "Galician"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\ru_RU.qm" File "locale\gl_ES.qm"
File "locale\qt_ru.qm" File "locale\qt_gl.qm"
SetOutPath "$INSTDIR\hunspell"
File "wininstall\hunspell\ru_RU.aff"
File "wininstall\hunspell\ru_RU.dic"
SectionEnd SectionEnd
Section "Portuguese" Section "Hebrew"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\pt_PT.qm" File "locale\he_IL.qm"
File "locale\pt_BR.qm" File "locale\qt_he.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 "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 "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 SectionEnd
Section "Hungarian" Section "Hungarian"
@ -343,6 +301,63 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations
File "wininstall\hunspell\id_ID.dic" File "wininstall\hunspell\id_ID.dic"
SectionEnd 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" Section "Romanian"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\ro_RO.qm" File "locale\ro_RO.qm"
@ -351,6 +366,41 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations
File "wininstall\hunspell\ro_RO.dic" File "wininstall\hunspell\ro_RO.dic"
SectionEnd 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" Section "Swedish"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\sv_SE.qm" File "locale\sv_SE.qm"
@ -366,66 +416,9 @@ SectionGroup $(TITLE_SecTranslations) SecTranslations
File "wininstall\hunspell\uk_UA.dic" File "wininstall\hunspell\uk_UA.dic"
SectionEnd SectionEnd
Section "Persian" Section "Uzbek"
SetOutPath "$INSTDIR\locale" SetOutPath "$INSTDIR\locale"
File "locale\fa_IR.qm" File "locale\uz@Latn.qm"
File "locale\qt_fa.qm"
SetOutPath "$INSTDIR\hunspell"
File "wininstall\hunspell\fa_IR.aff"
File "wininstall\hunspell\fa_IR.dic"
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 "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 "Danish"
SetOutPath "$INSTDIR\locale"
File "locale\da_DK.qm"
File "locale\qt_da.qm"
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 "Ganda"
SetOutPath "$INSTDIR\locale"
File "locale\lg.qm"
SectionEnd
Section "Norwegian"
SetOutPath "$INSTDIR\locale"
File "locale\nb_NO.qm"
SectionEnd
Section "N'ko"
SetOutPath "$INSTDIR\locale"
File "locale\nqo.qm"
SectionEnd SectionEnd
SectionGroupEnd SectionGroupEnd