2017-01-10 21:05:55 +01:00
|
|
|
; File encoding 'UTF-8 with BOM'
|
|
|
|
|
|
|
|
Unicode true
|
2017-01-08 19:48:06 +01:00
|
|
|
!include "MUI2.nsh"
|
|
|
|
|
|
|
|
Name "Gajim"
|
|
|
|
OutFile "Gajim-Portable.exe"
|
|
|
|
SetCompressor /final /solid lzma
|
2017-05-10 17:16:14 +02:00
|
|
|
SetCompressorDictSize 32
|
2017-01-08 19:48:06 +01:00
|
|
|
|
|
|
|
!define myAppName "Gajim"
|
|
|
|
|
|
|
|
InstallDir "$PROFILE\Gajim"
|
|
|
|
RequestExecutionLevel user
|
|
|
|
|
|
|
|
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico"
|
|
|
|
!define MUI_HEADERIMAGE
|
2017-05-10 17:16:14 +02:00
|
|
|
!define MUI_HEADERIMAGE_BITMAP "mingw32\gajim\data\pixmaps\nsis_header.bmp"
|
|
|
|
!define MUI_WELCOMEFINISHPAGE_BITMAP "mingw32\gajim\data\pixmaps\nsis_wizard.bmp"
|
|
|
|
!define MUI_UNWELCOMEFINISHPAGE_BITMAP "mingw32\gajim\data\pixmaps\nsis_wizard.bmp"
|
2017-01-08 19:48:06 +01:00
|
|
|
!define MUI_COMPONENTSPAGE_SMALLDESC
|
|
|
|
!define MUI_ABORTWARNING
|
|
|
|
|
|
|
|
!insertmacro MUI_PAGE_WELCOME
|
2017-05-10 17:16:14 +02:00
|
|
|
!insertmacro MUI_PAGE_LICENSE "mingw32\gajim\COPYING"
|
2017-01-08 19:48:06 +01:00
|
|
|
!insertmacro MUI_PAGE_COMPONENTS
|
|
|
|
!insertmacro MUI_PAGE_DIRECTORY
|
|
|
|
!insertmacro MUI_PAGE_INSTFILES
|
|
|
|
!insertmacro MUI_PAGE_FINISH
|
|
|
|
|
|
|
|
!insertmacro MUI_UNPAGE_WELCOME
|
|
|
|
!insertmacro MUI_UNPAGE_CONFIRM
|
|
|
|
!insertmacro MUI_UNPAGE_INSTFILES
|
|
|
|
!insertmacro MUI_UNPAGE_FINISH
|
|
|
|
|
|
|
|
;Show all languages, despite user's codepage
|
|
|
|
!define MUI_LANGDLL_ALLLANGUAGES
|
|
|
|
|
|
|
|
!insertmacro MUI_LANGUAGE "English"
|
|
|
|
!insertmacro MUI_LANGUAGE "French"
|
|
|
|
!insertmacro MUI_LANGUAGE "German"
|
|
|
|
!insertmacro MUI_LANGUAGE "Italian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Russian"
|
|
|
|
!insertmacro MUI_LANGUAGE "Hebrew"
|
|
|
|
!insertmacro MUI_RESERVEFILE_LANGDLL
|
|
|
|
|
|
|
|
; English
|
|
|
|
LangString NAME_Emoticons ${LANG_ENGLISH} "Emoticons"
|
|
|
|
LangString NAME_Iconsets ${LANG_ENGLISH} "Iconsets"
|
|
|
|
LangString NAME_Languages ${LANG_ENGLISH} "Languages"
|
|
|
|
LangString NAME_SecLanguagesOther ${LANG_ENGLISH} "Other"
|
|
|
|
LangString NAME_Themes ${LANG_ENGLISH} "Themes"
|
|
|
|
LangString DESC_SecGajim ${LANG_ENGLISH} "Installs the main Gajim files."
|
|
|
|
|
|
|
|
|
|
|
|
; French
|
|
|
|
LangString NAME_Emoticons ${LANG_FRENCH} "Emoticônes"
|
|
|
|
LangString NAME_Iconsets ${LANG_FRENCH} "Bibliothèque d'icônes"
|
|
|
|
LangString NAME_Languages ${LANG_FRENCH} "Langues"
|
|
|
|
LangString NAME_SecLanguagesOther ${LANG_FRENCH} "Autre"
|
|
|
|
LangString NAME_Themes ${LANG_FRENCH} "Thèmes"
|
|
|
|
LangString DESC_SecGajim ${LANG_FRENCH} "Installer les fichiers principaux de Gajim."
|
|
|
|
|
|
|
|
|
|
|
|
; German
|
|
|
|
LangString NAME_Emoticons ${LANG_GERMAN} "Emoticons"
|
|
|
|
LangString NAME_Iconsets ${LANG_GERMAN} "Symbolsets"
|
|
|
|
LangString NAME_Languages ${LANG_GERMAN} "Sprachen"
|
|
|
|
LangString NAME_SecLanguagesOther ${LANG_GERMAN} "Sonstige"
|
|
|
|
LangString NAME_Themes ${LANG_GERMAN} "Designs"
|
|
|
|
LangString DESC_SecGajim ${LANG_GERMAN} "Installiert die Hauptdateien von Gajim."
|
|
|
|
|
|
|
|
|
|
|
|
; Italian
|
|
|
|
LangString NAME_Emoticons ${LANG_ITALIAN} "Emoticons"
|
|
|
|
LangString NAME_Iconsets ${LANG_ITALIAN} "Set di icone"
|
|
|
|
LangString NAME_Languages ${LANG_ITALIAN} "Lingue"
|
|
|
|
LangString NAME_SecLanguagesOther ${LANG_ITALIAN} "Altre"
|
|
|
|
LangString NAME_Themes ${LANG_ITALIAN} "Temi"
|
|
|
|
LangString DESC_SecGajim ${LANG_ITALIAN} "Installa i file principali di Gajim."
|
|
|
|
|
|
|
|
|
|
|
|
; Russian
|
2017-01-10 21:05:55 +01:00
|
|
|
LangString NAME_Emoticons ${LANG_RUSSIAN} "Смайлики"
|
|
|
|
LangString NAME_Iconsets ${LANG_RUSSIAN} "Темы иконок"
|
|
|
|
LangString NAME_Languages ${LANG_RUSSIAN} "Языки"
|
|
|
|
LangString NAME_SecLanguagesOther ${LANG_RUSSIAN} "Другое"
|
|
|
|
LangString NAME_Themes ${LANG_RUSSIAN} "Темы"
|
|
|
|
LangString DESC_SecGajim ${LANG_RUSSIAN} "Установка основных файлов Gajim."
|
2017-01-08 19:48:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
; Hebrew
|
2017-01-10 21:05:55 +01:00
|
|
|
LangString NAME_Emoticons ${LANG_HEBREW} "רגשונים"
|
|
|
|
LangString NAME_Iconsets ${LANG_HEBREW} "מערכי צלמית"
|
|
|
|
LangString NAME_Languages ${LANG_HEBREW} "שפות"
|
|
|
|
LangString NAME_SecLanguagesOther ${LANG_HEBREW} "אחרות"
|
|
|
|
LangString NAME_Themes ${LANG_HEBREW} "ערכאות נושא"
|
|
|
|
LangString DESC_SecGajim ${LANG_HEBREW} "מתקין קבצי Gajim עיקריים."
|
2017-01-08 19:48:06 +01:00
|
|
|
|
|
|
|
Section "Gajim" SecGajim
|
|
|
|
SectionIn RO
|
|
|
|
|
|
|
|
SetOutPath "$INSTDIR"
|
2017-05-10 17:16:14 +02:00
|
|
|
File /r "mingw32\*.*"
|
2017-01-08 19:48:06 +01:00
|
|
|
|
2017-05-10 17:16:14 +02:00
|
|
|
SetOutPath "$INSTDIR\bin"
|
|
|
|
CreateShortCut "$INSTDIR\Gajim-Portable.lnk" "$INSTDIR\bin\Gajim.exe" \
|
|
|
|
"-c ..\..\UserData" "" "" SW_SHOWNORMAL "" "Gajim Portable"
|
|
|
|
CreateShortCut "$INSTDIR\Gajim-Portable-Debug.lnk" "$INSTDIR\bin\Gajim-Debug.exe" \
|
|
|
|
"-c ..\..\UserData" "" "" SW_SHOWNORMAL "" "Gajim Portable Debug"
|
2017-01-08 19:48:06 +01:00
|
|
|
|
|
|
|
SectionEnd
|
|
|
|
|
|
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
|
|
|
|
!insertmacro MUI_DESCRIPTION_TEXT ${SecGajim} $(DESC_SecGajim)
|
|
|
|
!insertmacro MUI_FUNCTION_DESCRIPTION_END
|
2017-01-10 21:05:55 +01:00
|
|
|
|
|
|
|
Function .onInit
|
|
|
|
!insertmacro MUI_LANGDLL_DISPLAY
|
|
|
|
FunctionEnd
|