2012-09-24 09:36:38 -04:00
; Script generated with the Venis Install Wizard & modified by defnax
2007-11-14 22:18:48 -05:00
; Define your application name
!define APPNAME "RetroShare"
2013-03-22 12:44:18 -04:00
!define VERSION "0.5.4e"
!define REVISION "6268"
2012-08-08 18:09:16 -04:00
!define APPNAMEANDVERSION "${APPNAME} ${VERSION} ${REVISION}"
2012-09-26 08:26:27 -04:00
!define QTBASE "d:\qt\2010.05"
2013-03-22 12:44:18 -04:00
!define RSBASE "d:\Development\retroshare-trunk\retroshare-gui"
2007-11-14 22:18:48 -05:00
; Main Install settings
Name "${APPNAMEANDVERSION}"
InstallDir "$PROGRAMFILES\RetroShare"
InstallDirRegKey HKLM "Software\${APPNAME}" ""
2012-08-08 18:09:16 -04:00
OutFile "RetroShare_${VERSION}_${REVISION}_setup.exe"
2007-11-14 22:18:48 -05:00
BrandingText "${APPNAMEANDVERSION}"
; Use compression
2010-02-09 14:40:07 -05:00
SetCompressor /SOLID LZMA
2007-11-14 22:18:48 -05:00
; Modern interface settings
2008-01-13 21:15:57 -05:00
!include Sections.nsh
2007-11-14 22:18:48 -05:00
!include "MUI.nsh"
2008-01-13 17:48:38 -05:00
;Interface Settings
2007-11-14 22:18:48 -05:00
!define MUI_ABORTWARNING
2008-01-13 17:48:38 -05:00
;!define MUI_HEADERIMAGE
;!define MUI_HEADERIMAGE_BITMAP "retroshare.bmp" ; optional
# MUI defines
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico"
!define MUI_FINISHPAGE_NOAUTOCLOSE
!define MUI_LICENSEPAGE_RADIOBUTTONS
2007-11-14 22:18:48 -05:00
!define MUI_COMPONENTSPAGE_SMALLDESC
2010-02-26 20:29:00 -05:00
!define MUI_FINISHPAGE_LINK "$(FINISHPAGELINK)"
2009-03-25 18:03:56 -04:00
!define MUI_FINISHPAGE_LINK_LOCATION "http://retroshare.sourceforge.net/forum/"
2007-11-14 22:18:48 -05:00
!define MUI_FINISHPAGE_RUN "$INSTDIR\RetroShare.exe"
2008-01-13 17:48:38 -05:00
!define MUI_FINISHPAGE_SHOWREADME $INSTDIR\changelog.txt
!define MUI_FINISHPAGE_SHOWREADME_TEXT changelog.txt
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\orange-uninstall.ico"
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
!define MUI_LANGDLL_REGISTRY_ROOT HKLM
!define MUI_LANGDLL_REGISTRY_KEY ${REGKEY}
!define MUI_LANGDLL_REGISTRY_VALUENAME InstallerLanguage
2008-04-16 12:22:12 -04:00
2009-07-06 10:33:07 -04:00
;!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of RetroShare. \r\n\r\nIt is recommended that you close all other applications before starting Setup. This will make it possible to update relevant system files without havinf to reboot your computer. \r\n\r\nIMPORTANT: Ensure that RetroShare is NOT RUNNING before continuing (you can exit from the taskbar menu), otherwise the installer cannot update the executables, and the installation will fail. \r\n\r\nClick Next to continue. "
2008-04-16 12:22:12 -04:00
2009-07-06 10:33:07 -04:00
;!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of RetroShare. \r\n\r\nIMPORTANT: Ensure that RetroShare is NOT RUNNING before continuing (you can exit from the taskbar menu), otherwise the installer cannot update the executables, and the installation will fail. \r\n\r\nClick Next to continue. "
2008-01-13 17:48:38 -05:00
; Defines the un-/installer logo of RetroShare
2008-01-13 21:15:57 -05:00
!insertmacro MUI_DEFAULT MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange.bmp"
2008-01-13 17:48:38 -05:00
!insertmacro MUI_DEFAULT MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange-uninstall.bmp"
; Set languages (first is default language)
!insertmacro MUI_RESERVEFILE_LANGDLL
ReserveFile "${NSISDIR}\Plugins\AdvSplash.dll"
;--------------------------------
;Configuration
2007-11-14 22:18:48 -05:00
2008-01-13 17:48:38 -05:00
;!insertmacro MUI_RESERVEFILE_SPECIALBITMAP
2010-03-15 19:25:10 -04:00
LicenseLangString myLicenseData 1030 "license\license.txt"
2008-01-13 17:48:38 -05:00
LicenseLangString myLicenseData 1031 "license\license-GER.txt"
2012-11-08 05:13:01 -05:00
LicenseLangString myLicenseData 1032 "license\license-GR.txt"
2012-03-07 09:55:54 -05:00
LicenseLangString myLicenseData 1033 "license\license.txt"
LicenseLangString myLicenseData 1034 "license\license-SP.txt"
2009-06-30 20:59:42 -04:00
LicenseLangString myLicenseData 1036 "license\license-FR.txt"
2012-03-07 09:55:54 -05:00
LicenseLangString myLicenseData 1040 "license\license-IT.txt"
2010-03-15 19:25:10 -04:00
LicenseLangString myLicenseData 1041 "license\license.txt"
LicenseLangString myLicenseData 1042 "license\license.txt"
2012-03-07 09:55:54 -05:00
LicenseLangString myLicenseData 1045 "license\license.txt"
LicenseLangString myLicenseData 1046 "license\license-PT_BR.txt"
2010-03-15 19:25:10 -04:00
LicenseLangString myLicenseData 1049 "license\license.txt"
LicenseLangString myLicenseData 1053 "license\license.txt"
2012-03-07 09:55:54 -05:00
LicenseLangString myLicenseData 1055 "license\license-TR.txt"
LicenseLangString myLicenseData 2052 "license\license.txt"
2008-01-13 17:48:38 -05:00
LicenseData $(myLicenseData)
# Installer pages
2007-11-14 22:18:48 -05:00
!insertmacro MUI_PAGE_WELCOME
2008-01-13 17:48:38 -05:00
!insertmacro MUI_PAGE_LICENSE "$(myLicenseData)"
2007-11-14 22:18:48 -05:00
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
2008-01-13 17:48:38 -05:00
# Installer languages
2009-07-01 19:08:11 -04:00
!define MUI_LANGDLL_ALLLANGUAGES
2008-01-13 17:48:38 -05:00
!insertmacro MUI_LANGUAGE English
2012-03-07 09:55:54 -05:00
!insertmacro MUI_LANGUAGE Danish
2009-06-30 20:59:42 -04:00
!insertmacro MUI_LANGUAGE French
2010-03-15 19:25:10 -04:00
!insertmacro MUI_LANGUAGE German
2012-03-07 09:55:54 -05:00
!insertmacro MUI_LANGUAGE Greek
!insertmacro MUI_LANGUAGE Italian
2010-03-15 19:25:10 -04:00
!insertmacro MUI_LANGUAGE Japanese
!insertmacro MUI_LANGUAGE Korean
2009-07-05 06:31:47 -04:00
!insertmacro MUI_LANGUAGE Polish
2012-03-07 09:55:54 -05:00
!insertmacro MUI_LANGUAGE PortugueseBR
2010-03-15 19:25:10 -04:00
!insertmacro MUI_LANGUAGE Russian
!insertmacro MUI_LANGUAGE Swedish
!insertmacro MUI_LANGUAGE SimpChinese
2012-03-07 09:55:54 -05:00
!insertmacro MUI_LANGUAGE Spanish
2010-03-15 19:25:10 -04:00
!insertmacro MUI_LANGUAGE Turkish
2009-07-05 06:31:47 -04:00
2008-01-13 17:48:38 -05:00
;Component-selection page
;Titles
LangString sec_main ${LANG_ENGLISH} "Program Files"
LangString sec_data ${LANG_ENGLISH} "Program Skins"
LangString sec_shortcuts ${LANG_ENGLISH} "Shortcuts"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_ENGLISH} "Plugins"
2008-01-13 17:48:38 -05:00
LangString sec_link ${LANG_ENGLISH} "File Association"
LangString sec_autostart ${LANG_ENGLISH} "Auto Startup"
LangString DESC_sec_main ${LANG_ENGLISH} "Installs the RetroShare program files."
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_ENGLISH} "Installs the RetroShare plugins."
2008-01-13 17:48:38 -05:00
LangString DESC_sec_data ${LANG_ENGLISH} "Installs RetroShare Skins"
LangString DESC_sec_shortcuts ${LANG_ENGLISH} "Create RetroShare shortcut icons."
2010-02-26 20:29:00 -05:00
LangString DESC_sec_link ${LANG_ENGLISH} "Associate RetroShare with .rsc file extension"
2012-03-07 09:55:54 -05:00
LangString LANGUAGEID ${LANG_ENGLISH} "1033"
2009-06-30 20:59:42 -04:00
2009-07-01 19:08:11 -04:00
LangString sec_main ${LANG_FRENCH} "RetroShare"
2009-06-30 20:59:42 -04:00
LangString sec_data ${LANG_FRENCH} "Programme de Skins"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_FRENCH} "Plugins"
2009-06-30 20:59:42 -04:00
LangString sec_shortcuts ${LANG_FRENCH} "Raccourcis"
2012-03-16 06:15:00 -04:00
LangString sec_link ${LANG_FRENCH} "Association de fichiers"
2009-06-30 20:59:42 -04:00
LangString sec_startmenu ${LANG_FRENCH} "Raccourcis du menu Démarrer"
LangString sec_autostart ${LANG_FRENCH} "Démarrage automatique"
2012-03-16 06:15:00 -04:00
LangString DESC_sec_main ${LANG_FRENCH} "Installation des fichiers du programme."
LangString DESC_sec_data ${LANG_FRENCH} "Installation des Skins de RetroShare"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_FRENCH} "Installation des extensions de RetroShare "
2012-03-16 06:15:00 -04:00
LangString DESC_sec_startmenu ${LANG_FRENCH} "Création des raccourcis du menu Démarrer"
LangString DESC_sec_shortcuts ${LANG_FRENCH} "Création de l'icône sur le bureau."
LangString DESC_sec_link ${LANG_FRENCH} "Associer RetroShare avec l'extension de fichier .rsc"
2009-06-30 20:59:42 -04:00
LangString LANGUAGEID ${LANG_FRENCH} "1036"
2008-01-13 17:48:38 -05:00
2012-03-16 06:15:00 -04:00
LangString sec_main ${LANG_GERMAN} "Programme"
LangString sec_data ${LANG_GERMAN} "Programm Skins"
2012-09-19 11:41:31 -04:00
LangString sec_plugins ${LANG_GERMAN} "Plug-ins"
2012-10-16 08:48:04 -04:00
LangString sec_shortcuts ${LANG_GERMAN} "Verknüpfungen"
LangString sec_link ${LANG_GERMAN} "Dateiverknüpfungen"
2012-03-16 06:15:00 -04:00
LangString sec_autostart ${LANG_GERMAN} "Autostart"
LangString DESC_sec_main ${LANG_GERMAN} "Installiert die RetroShare Programmdateien."
2012-03-07 09:55:54 -05:00
LangString DESC_sec_data ${LANG_GERMAN} "Installiert RetroShare Skins"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_GERMAN} "Installiert die RetroShare Erweiterungen."
2012-11-21 03:25:41 -05:00
LangString DESC_sec_shortcuts ${LANG_GERMAN} "RetroShare Verknüpfung im Startmenüe, Desktop oder im Schnellstarter erstellen."
2012-11-08 05:13:01 -05:00
LangString DESC_sec_link ${LANG_GERMAN} "RetroShare mit .rsc Dateiendung verknüpfen"
2008-01-13 17:48:38 -05:00
LangString LANGUAGEID ${LANG_GERMAN} "1031"
2012-03-16 06:15:00 -04:00
2012-09-18 11:00:26 -04:00
LangString sec_main ${LANG_TURKISH} "Program Dosyalar?"
2008-02-29 09:33:38 -05:00
LangString sec_data ${LANG_TURKISH} "Program Skinleri"
LangString sec_shortcuts ${LANG_TURKISH} "Shortcut'lar"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_TURKISH} "Eklentiler"
2011-02-24 18:16:20 -05:00
LangString sec_link ${LANG_TURKISH} ".rsc Dosya Kaydet"
2008-02-29 09:33:38 -05:00
LangString sec_autostart ${LANG_TURKISH} "Otomatik calistir ve baglan"
2012-09-18 11:00:26 -04:00
LangString DESC_sec_main ${LANG_TURKISH} "Program dosyalar?n? kurar."
2012-03-07 09:55:54 -05:00
LangString DESC_sec_data ${LANG_TURKISH} "RetroShare Skin'leri kurar"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_TURKISH} "Installs the RetroShare plugins."
2008-02-29 09:33:38 -05:00
LangString DESC_sec_shortcuts ${TURKISH} "Shortcut yap Start menu , Desktop veya Quicklaunchbar icin."
2012-09-18 11:00:26 -04:00
LangString DESC_sec_link ${LANG_TURKISH} "RetroShare .rsc almas? i?in kaydettirir"
2008-02-29 09:33:38 -05:00
LangString LANGUAGEID ${LANG_TURKISH} "1055"
2012-09-24 10:07:56 -04:00
LangString sec_main ${LANG_SIMPCHINESE} "程序文件"
LangString sec_data ${LANG_SIMPCHINESE} "程序皮肤"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_SIMPCHINESE} "Plugins"
2012-09-24 10:07:56 -04:00
LangString sec_shortcuts ${LANG_SIMPCHINESE} "快捷方式"
LangString sec_link ${LANG_SIMPCHINESE} "RetroShare文件关联"
LangString sec_autostart ${LANG_SIMPCHINESE} "自动启动"
LangString DESC_sec_main ${LANG_SIMPCHINESE} "安装RetroShare程序"
LangString DESC_sec_data ${LANG_SIMPCHINESE} "安装RetroShare皮肤"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_SIMPCHINESE} "Installs the RetroShare plugins."
2012-09-24 10:07:56 -04:00
LangString DESC_sec_shortcuts ${LANG_SIMPCHINESE} "建RetroShare快捷方式"
LangString DESC_sec_link ${LANG_SIMPCHINESE} "关联.rsc扩展名"
2009-07-01 19:08:11 -04:00
LangString LANGUAGEID ${LANG_SIMPCHINESE} "2052"
2009-07-05 07:08:45 -04:00
LangString sec_main ${LANG_POLISH} "Pliki programu"
LangString sec_data ${LANG_POLISH} "Skórki"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_POLISH} "Plugins"
2009-07-05 06:31:47 -04:00
LangString sec_shortcuts ${LANG_POLISH} "Skróty"
2009-07-05 07:08:45 -04:00
LangString sec_link ${LANG_POLISH} "Skojarz pliki"
LangString sec_autostart ${LANG_POLISH} "Automatyczne uruchamianie"
2009-07-05 06:31:47 -04:00
LangString DESC_sec_main ${LANG_POLISH} "Instaluje pliki programu RetroShare"
2009-07-05 07:08:45 -04:00
LangString DESC_sec_data ${LANG_POLISH} "Instaluje skórki programu RetroShare"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_POLISH} "Installs the RetroShare plugins."
2009-07-05 07:08:45 -04:00
LangString DESC_sec_shortcuts ${LANG_POLISH} "Utwórz ikony skrótów na pulpicie, w menu start oraz na pasku szybkiego uruchamiania."
2010-02-26 20:29:00 -05:00
LangString DESC_sec_link ${LANG_POLISH} "Skojarz pliki o rozszerzeniu .rsc z RetroShare"
2009-07-05 06:31:47 -04:00
LangString LANGUAGEID ${LANG_POLISH} "1045"
2010-03-15 19:25:10 -04:00
LangString sec_main ${LANG_DANISH} "Program Files"
LangString sec_data ${LANG_DANISH} "Program Skins"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_DANISH} "Plugins"
2010-03-15 19:25:10 -04:00
LangString sec_shortcuts ${LANG_DANISH} "Shortcuts"
LangString sec_link ${LANG_DANISH} "File Association"
LangString sec_autostart ${LANG_DANISH} "Auto Startup"
LangString DESC_sec_main ${LANG_DANISH} "Installs the RetroShare program files."
LangString DESC_sec_data ${LANG_DANISH} "Installs RetroShare Skins"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_DANISH} "Installs the RetroShare plugins."
2010-03-15 19:25:10 -04:00
LangString DESC_sec_shortcuts ${LANG_DANISH} "Create RetroShare shortcut icons."
LangString DESC_sec_link ${LANG_DANISH} "Associate RetroShare with .rsc file extension"
LangString LANGUAGEID ${LANG_DANISH} "1030"
LangString sec_main ${LANG_RUSSIAN} "Program Files"
LangString sec_data ${LANG_RUSSIAN} "Program Skins"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_RUSSIAN} "Plugins"
2010-03-15 19:25:10 -04:00
LangString sec_shortcuts ${LANG_RUSSIAN} "Shortcuts"
LangString sec_link ${LANG_RUSSIAN} "File Association"
LangString sec_autostart ${LANG_RUSSIAN} "Auto Startup"
LangString DESC_sec_main ${LANG_RUSSIAN} "Installs the RetroShare program files."
LangString DESC_sec_data ${LANG_RUSSIAN} "Installs RetroShare Skins"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_RUSSIAN} "Installs the RetroShare plugins."
2010-03-15 19:25:10 -04:00
LangString DESC_sec_shortcuts ${LANG_RUSSIAN} "Create RetroShare shortcut icons."
LangString DESC_sec_link ${LANG_RUSSIAN} "Associate RetroShare with .rsc file extension"
LangString LANGUAGEID ${LANG_RUSSIAN} "1049"
LangString sec_main ${LANG_SWEDISH} "Program Files"
LangString sec_data ${LANG_SWEDISH} "Program Skins"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_SWEDISH} "Plugins"
2010-03-15 19:25:10 -04:00
LangString sec_shortcuts ${LANG_SWEDISH} "Shortcuts"
LangString sec_link ${LANG_SWEDISH} "File Association"
LangString sec_autostart ${LANG_SWEDISH} "Auto Startup"
LangString DESC_sec_main ${LANG_SWEDISH} "Installs the RetroShare program files."
LangString DESC_sec_data ${LANG_SWEDISH} "Installs RetroShare Skins"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_SWEDISH} "Installs the RetroShare plugins."
2010-03-15 19:25:10 -04:00
LangString DESC_sec_shortcuts ${LANG_SWEDISH} "Create RetroShare shortcut icons."
LangString DESC_sec_link ${LANG_SWEDISH} "Associate RetroShare with .rsc file extension"
LangString LANGUAGEID ${LANG_SWEDISH} "1053"
2012-03-07 09:55:54 -05:00
LangString sec_main ${LANG_SPANISH} "Archivos de programa"
2012-08-16 03:27:07 -04:00
LangString sec_data ${LANG_SPANISH} "Estilos del programa"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_SPANISH} "Plugins"
2012-08-16 03:27:07 -04:00
LangString sec_shortcuts ${LANG_SPANISH} "Accesos directos"
LangString sec_link ${LANG_SPANISH} "Asociación de archivos"
LangString sec_autostart ${LANG_SPANISH} "Inicio automático"
LangString DESC_sec_main ${LANG_SPANISH} "Instala los archivos del programa RetroShare."
LangString DESC_sec_data ${LANG_SPANISH} "Instala los estilos para RetroShare"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_SPANISH} "Installs the RetroShare plugins."
2012-08-16 03:27:07 -04:00
LangString DESC_sec_shortcuts ${LANG_SPANISH} "Crear iconos de acceso directo de RetroShare."
LangString DESC_sec_link ${LANG_SPANISH} "Asociar RetroShare con la extensión de archivo .rsc"
2012-03-07 09:55:54 -05:00
LangString LANGUAGEID ${LANG_SPANISH} "1034"
LangString sec_main ${LANG_ITALIAN} "Programmi"
2012-03-16 06:15:00 -04:00
LangString sec_data ${LANG_ITALIAN} "Temi del Programma"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_ITALIAN} "Plugins"
2012-03-16 06:15:00 -04:00
LangString sec_shortcuts ${LANG_ITALIAN} "Icone"
LangString sec_link ${LANG_ITALIAN} "Associazione dei File"
LangString sec_autostart ${LANG_ITALIAN} "Esecuzione Automatica"
LangString DESC_sec_main ${LANG_ITALIAN} "Installare i file programma di RetroShare."
2012-09-06 17:48:02 -04:00
LangString DESC_sec_data ${LANG_ITALIAN} "Installare i temi di RetroShare"
LangString DESC_sec_plugins ${LANG_ITALIAN} "Installs the RetroShare plugins."
2012-03-16 06:15:00 -04:00
LangString DESC_sec_shortcuts ${LANG_ITALIAN} "Creare le icone per avviare RetroShare."
LangString DESC_sec_link ${LANG_ITALIAN} "Associa a RetroShare i file con estensione .rsc"
2012-03-07 09:55:54 -05:00
LangString LANGUAGEID ${LANG_ITALIAN} "1040"
2012-03-16 06:15:00 -04:00
2012-03-07 09:55:54 -05:00
LangString sec_main ${LANG_GREEK} "Program Files"
LangString sec_data ${LANG_GREEK} "Program Skins"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_GREEK} "Plugins"
2012-03-07 09:55:54 -05:00
LangString sec_shortcuts ${LANG_GREEK} "Shortcuts"
LangString sec_link ${LANG_GREEK} "File Association"
LangString sec_autostart ${LANG_GREEK} "Auto Startup"
LangString DESC_sec_main ${LANG_GREEK} "Installs the RetroShare program files."
LangString DESC_sec_data ${LANG_GREEK} "Installs RetroShare Skins"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_GREEK} "Installs the RetroShare plugins."
2012-03-07 09:55:54 -05:00
LangString DESC_sec_shortcuts ${LANG_GREEK} "Create RetroShare shortcut icons."
LangString DESC_sec_link ${LANG_GREEK} "Associate RetroShare with .rsc file extension"
LangString LANGUAGEID ${LANG_GREEK} "1032"
LangString sec_main ${LANG_PORTUGUESEBR} "Program Files"
LangString sec_data ${LANG_PORTUGUESEBR} "Program Skins"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_PORTUGUESEBR} "Plugins"
2012-08-08 18:09:16 -04:00
LangString sec_shortcuts ${LANG_PORTUGUESEBR} "Shortcuts"
2012-03-07 09:55:54 -05:00
LangString sec_link ${LANG_PORTUGUESEBR} "File Association"
LangString sec_autostart ${LANG_PORTUGUESEBR} "Auto Startup"
LangString DESC_sec_main ${LANG_PORTUGUESEBR} "Installs the RetroShare program files."
LangString DESC_sec_data ${LANG_PORTUGUESEBR} "Installs RetroShare Skins"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_PORTUGUESEBR} "Installs the RetroShare plugins."
2012-03-07 09:55:54 -05:00
LangString DESC_sec_shortcuts ${LANG_PORTUGUESEBR} "Create RetroShare shortcut icons."
LangString DESC_sec_link ${LANG_PORTUGUESEBR} "Associate RetroShare with .rsc file extension"
LangString LANGUAGEID ${LANG_PORTUGUESEBR} "1046"
2010-03-15 19:25:10 -04:00
LangString sec_main ${LANG_JAPANESE} "Program Files"
LangString sec_data ${LANG_JAPANESE} "Program Skins"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_JAPANESE} "Plugins"
2010-03-15 19:25:10 -04:00
LangString sec_shortcuts ${LANG_JAPANESE} "Shortcuts"
LangString sec_link ${LANG_JAPANESE} "File Association"
LangString sec_autostart ${LANG_JAPANESE} "Auto Startup"
LangString DESC_sec_main ${LANG_JAPANESE} "Installs the RetroShare program files."
LangString DESC_sec_data ${LANG_JAPANESE} "Installs RetroShare Skins"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_JAPANESE} "Installs the RetroShare plugins."
2010-03-15 19:25:10 -04:00
LangString DESC_sec_shortcuts ${LANG_JAPANESE} "Create RetroShare shortcut icons."
LangString DESC_sec_link ${LANG_JAPANESE} "Associate RetroShare with .rsc file extension"
LangString LANGUAGEID ${LANG_JAPANESE} "1041"
LangString sec_main ${LANG_KOREAN} "Program Files"
LangString sec_data ${LANG_KOREAN} "Program Skins"
2012-09-06 17:48:02 -04:00
LangString sec_plugins ${LANG_KOREAN} "Plugins"
2010-03-15 19:25:10 -04:00
LangString sec_shortcuts ${LANG_KOREAN} "Shortcuts"
LangString sec_link ${LANG_KOREAN} "File Association"
LangString sec_autostart ${LANG_KOREAN} "Auto Startup"
LangString DESC_sec_main ${LANG_KOREAN} "Installs the RetroShare program files."
LangString DESC_sec_data ${LANG_KOREAN} "Installs RetroShare Skins"
2012-09-06 17:48:02 -04:00
LangString DESC_sec_plugins ${LANG_KOREAN} "Installs the RetroShare plugins."
2010-03-15 19:25:10 -04:00
LangString DESC_sec_shortcuts ${LANG_KOREAN} "Create RetroShare shortcut icons."
LangString DESC_sec_link ${LANG_KOREAN} "Associate RetroShare with .rsc file extension"
LangString LANGUAGEID ${LANG_KOREAN} "1042"
2009-07-05 07:08:45 -04:00
2007-11-14 22:18:48 -05:00
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
2008-01-13 17:48:38 -05:00
Section $(sec_main) sec_main
2007-11-14 22:18:48 -05:00
2008-03-05 12:47:24 -05:00
;Set Section required
SectionIn RO
2007-11-14 22:18:48 -05:00
; Set Section properties
SetOverwrite on
; Clears previous error logs
Delete "$INSTDIR\*.log"
; Set Section Files and Shortcuts
SetOutPath "$INSTDIR\"
2009-02-03 12:03:09 -05:00
File /r "release\RetroShare.exe"
2011-02-24 18:16:20 -05:00
File /r "..\..\retroshare-nogui\src\release\retroshare-nogui.exe"
2012-08-08 18:09:16 -04:00
File /r "${QTBASE}\mingw\bin\mingwm10.dll"
File /r "${QTBASE}\qt\bin\QtCore4.dll"
File /r "${QTBASE}\qt\bin\QtGui4.dll"
File /r "${QTBASE}\qt\bin\QtNetwork4.dll"
2012-09-24 09:36:38 -04:00
File /r "${QTBASE}\qt\bin\QtMultimedia4.dll"
2012-08-08 18:09:16 -04:00
File /r "${QTBASE}\qt\bin\QtXml4.dll"
File /r "${QTBASE}\qt\bin\QtScript4.dll"
2012-09-24 09:36:38 -04:00
File /r "${QTBASE}\qt\bin\QtSvg4.dll"
2012-08-08 18:09:16 -04:00
File /r "${QTBASE}\qt\bin\libgcc_s_dw2-1.dll"
File /r "${QTBASE}\qt\plugins\imageformats"
2010-11-01 09:07:11 -04:00
File /r ${QTBASE}\qt\qt_*.qm
2012-11-21 03:25:41 -05:00
File /r ${RSBASE}\src\qt_*.qm
2010-02-04 16:21:56 -05:00
File /r "release\pthreadGC2d.dll"
2012-11-21 03:25:41 -05:00
File /r "d:\Development\lib\libminiupnpc-1.3\miniupnpc.dll"
2008-11-14 21:36:45 -05:00
File /r "changelog.txt"
2012-11-08 05:13:01 -05:00
File /r /x Data "release\bdboot.txt"
2007-11-14 22:18:48 -05:00
2008-01-13 17:48:38 -05:00
2007-11-14 22:18:48 -05:00
SectionEnd
2008-01-13 17:48:38 -05:00
Section $(sec_data) sec_data
2007-11-14 22:18:48 -05:00
; Set Section properties
SetOverwrite on
; Set Section Files and Shortcuts
SetOutPath "$APPDATA\RetroShare\"
2012-11-08 05:13:01 -05:00
;File /r "data\*"
2007-11-14 22:18:48 -05:00
2010-11-08 19:48:45 -05:00
; Set Section qss and exclude svn
2008-03-05 12:47:24 -05:00
SetOutPath "$INSTDIR\qss\"
2010-11-08 19:48:45 -05:00
File /r /x .svn qss\*.*
2008-03-31 19:05:00 -04:00
2011-02-12 06:43:52 -05:00
; Set Section sounds and exclude svn
SetOutPath "$INSTDIR\sounds\"
File /r /x .svn sounds\*.*
2007-11-14 22:18:48 -05:00
; Set Section skin
; SetOutPath "$INSTDIR\skin\"
; File /r release\skin\*.*
2008-04-16 12:22:12 -04:00
2008-04-03 13:30:08 -04:00
; Add emoticons
2010-11-01 09:11:27 -04:00
;SetOutPath "$INSTDIR\emoticons\"
2010-09-13 17:18:52 -04:00
;File /r emoticons\*.*
2007-11-14 22:18:48 -05:00
2008-05-24 19:11:37 -04:00
; Add Chat Style
2012-08-30 10:43:56 -04:00
SetOutPath "$APPDATA\RetroShare\stylesheets\"
2012-10-16 08:48:04 -04:00
File /r gui\qss\chat\Bubble
File /r gui\qss\chat\Bubble_Compact
2012-09-06 17:48:02 -04:00
2008-05-24 19:11:37 -04:00
2007-11-14 22:18:48 -05:00
SectionEnd
2012-09-06 17:48:02 -04:00
SectionGroup $(sec_plugins) sec_plugins
Section Voip SEC001
; Set Section properties
SetOverwrite on
; Set Section Plugins
SetOutPath "$APPDATA\RetroShare\extensions\"
File /r "..\..\plugins\VOIP\release\VOIP.dll"
SectionEnd
SectionGroupEnd
2008-01-13 17:48:38 -05:00
Section $(sec_link) sec_link
2007-11-14 22:18:48 -05:00
; Delete any existing keys
; Write the file association
2010-02-04 09:11:21 -05:00
WriteRegStr HKCR .rsc "" retroshare
WriteRegStr HKCR retroshare "" "RSC File"
2007-11-14 22:18:48 -05:00
WriteRegBin HKCR retroshare EditFlags 00000100
WriteRegStr HKCR "retroshare\shell" "" open
WriteRegStr HKCR "retroshare\shell\open\command" "" `"$INSTDIR\RetroShare.exe" "%1"`
2008-04-16 12:22:12 -04:00
2007-11-14 22:18:48 -05:00
SectionEnd
2008-01-13 17:48:38 -05:00
SectionGroup $(sec_shortcuts) sec_shortcuts
Section StartMenu SEC0001
2007-11-14 22:18:48 -05:00
SetOutPath "$INSTDIR"
CreateDirectory "$SMPROGRAMS\${APPNAME}"
CreateShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
2010-02-11 13:32:25 -05:00
CreateShortCut "$SMPROGRAMS\${APPNAME}\$(^UninstallLink).lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
2007-11-14 22:18:48 -05:00
SectionEnd
2008-01-13 17:48:38 -05:00
Section Desktop SEC0002
2007-11-14 22:18:48 -05:00
CreateShortCut "$DESKTOP\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
SectionEnd
2008-01-13 17:48:38 -05:00
Section Quicklaunchbar SEC0003
2008-01-13 09:21:48 -05:00
CreateShortCut "$QUICKLAUNCH\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
SectionEnd
2008-01-13 17:48:38 -05:00
SectionGroupEnd
2008-01-13 09:21:48 -05:00
2009-01-08 15:52:19 -05:00
;Section $(sec_autostart) sec_autostart
2007-11-14 22:18:48 -05:00
2009-01-08 15:52:19 -05:00
; WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "RetroRun" "$INSTDIR\${APPNAME}.exe -a"
2007-11-14 22:18:48 -05:00
2009-01-08 15:52:19 -05:00
;SectionEnd
2010-02-09 14:40:07 -05:00
;Section $(sec_autostart) sec_autostart
2009-01-08 15:52:19 -05:00
2010-02-09 14:40:07 -05:00
; CreateShortCut "$SMSTARTUP\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
;SectionEnd
2007-11-14 22:18:48 -05:00
2009-01-08 15:52:19 -05:00
2007-11-14 22:18:48 -05:00
Section -FinishSection
WriteRegStr HKLM "Software\${APPNAME}" "" "$INSTDIR"
WriteRegStr HKLM "Software\${APPNAME}" "Version" "${VERSION}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "DisplayName" "${APPNAME}"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}" "UninstallString" "$INSTDIR\uninstall.exe"
WriteUninstaller "$INSTDIR\uninstall.exe"
SectionEnd
2008-01-13 17:48:38 -05:00
;--------------------------------
;Descriptions
2007-11-14 22:18:48 -05:00
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
2008-01-13 17:48:38 -05:00
!insertmacro MUI_DESCRIPTION_TEXT ${sec_main} $(DESC_sec_main)
!insertmacro MUI_DESCRIPTION_TEXT ${sec_data} $(DESC_sec_data)
2012-09-06 17:48:02 -04:00
!insertmacro MUI_DESCRIPTION_TEXT ${sec_plugins} $(DESC_sec_plugins)
2008-01-13 17:48:38 -05:00
!insertmacro MUI_DESCRIPTION_TEXT ${sec_shortcuts} $(DESC_sec_shortcuts)
!insertmacro MUI_DESCRIPTION_TEXT ${sec_link} $(DESC_sec_link)
2010-02-09 14:40:07 -05:00
;!insertmacro MUI_DESCRIPTION_TEXT ${sec_autostart} $(DESC_sec_autostart)
2007-11-14 22:18:48 -05:00
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;Uninstall section
Section "Uninstall"
; Remove file association registry keys
2010-02-04 09:11:21 -05:00
DeleteRegKey HKCR .rsc
2007-11-14 22:18:48 -05:00
DeleteRegKey HKCR retroshare
; Remove program/uninstall regsitry keys
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\${APPNAME}"
DeleteRegKey HKLM SOFTWARE\${APPNAME}
DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "RetroRun"
; Remove files and uninstaller
Delete $INSTDIR\RetroShare.exe
Delete $INSTDIR\*.dll
Delete $INSTDIR\*.dat
Delete $INSTDIR\*.txt
Delete $INSTDIR\*.ini
Delete $INSTDIR\*.log
Delete $INSTDIR\uninstall.exe
; Remove the kadc.ini file.
; Don't remove the directory, otherwise
; we lose the XPGP keys.
; Should make this an option though...
2009-01-23 14:54:23 -05:00
Delete "$APPDATA\${APPNAME}\kadc.ini"
Delete "$APPDATA\${APPNAME}\*.cfg"
Delete "$APPDATA\${APPNAME}\*.conf"
Delete "$APPDATA\${APPNAME}\*.log-save"
Delete "$APPDATA\${APPNAME}\*.log"
Delete "$APPDATA\${APPNAME}\*.failed"
RMDir /r "$APPDATA\${APPNAME}\cache"
RMDir /r "$APPDATA\${APPNAME}\Partials"
2007-11-14 22:18:48 -05:00
; Remove shortcuts, if any
Delete "$SMPROGRAMS\${APPNAME}\*.*"
2008-01-13 09:51:53 -05:00
; Remove desktop shortcut
2007-11-14 22:18:48 -05:00
Delete "$DESKTOP\${APPNAME}.lnk"
2008-01-13 09:51:53 -05:00
; Remove Quicklaunch shortcut
Delete "$QUICKLAUNCH\${APPNAME}.lnk"
2009-06-01 08:22:52 -04:00
2010-02-05 23:07:34 -05:00
; Remove Autostart
;Delete "$SMSTARTUP\${APPNAME}.lnk"
2007-11-14 22:18:48 -05:00
; Remove directories used
RMDir "$SMPROGRAMS\${APPNAME}"
2009-01-23 14:54:23 -05:00
RMDir /r "$INSTDIR"
RMDir /r "$INSTDIR\qss"
RMDir /r "$INSTDIR\emoticons"
RMDir /r "$INSTDIR\style"
2010-11-01 09:07:11 -04:00
RMDir /r "$INSTDIR\translations"
2007-11-14 22:18:48 -05:00
SectionEnd
Function .onInit
2008-01-13 17:48:38 -05:00
InitPluginsDir
Push $R1
2008-01-13 21:15:57 -05:00
File /oname=$PLUGINSDIR\spltmp.bmp "gui\images\splash.bmp"
2008-01-13 17:48:38 -05:00
advsplash::show 1200 1000 1000 -1 $PLUGINSDIR\spltmp
Pop $R1
Pop $R1
!insertmacro MUI_LANGDLL_DISPLAY
2007-11-14 22:18:48 -05:00
2008-02-29 09:33:38 -05:00
2007-11-14 22:18:48 -05:00
FunctionEnd
2008-01-13 21:15:57 -05:00
# Installer Language Strings
# TODO Update the Language Strings with the appropriate translations.
2007-11-14 22:18:48 -05:00
2010-02-26 20:29:00 -05:00
LangString FINISHPAGELINK ${LANG_ENGLISH} "Visit the RetroShare forums for the latest news and support"
2012-03-16 06:15:00 -04:00
LangString FINISHPAGELINK ${LANG_GERMAN} "Das RetroShare Support-Forum besuchen, um Neuigkeiten und Unterstützung zu erfahren"
2012-03-07 09:55:54 -05:00
LangString FINISHPAGELINK ${LANG_TURKISH} "Destek için Retroshare foruma ziyaret et"
2010-02-27 07:45:09 -05:00
LangString FINISHPAGELINK ${LANG_FRENCH} "Consultez le forum RetroShare pour vous tenir au courant des dernieres modifications, et obtenir de l'aide."
2012-09-24 10:07:56 -04:00
LangString FINISHPAGELINK ${LANG_SIMPCHINESE} "帮助论坛"
LangString FINISHPAGELINK ${LANG_POLISH} "Odwiedź forum RetroShare do najświeższych informacji i wsparcia"
2010-03-15 19:25:10 -04:00
LangString FINISHPAGELINK ${LANG_DANISH} "Besøg RetroShare fora for de seneste nyheder og støtte"
LangString FINISHPAGELINK ${LANG_JAPANESE} "Visit the RetroShare forums for the latest news and support"
LangString FINISHPAGELINK ${LANG_KOREAN} "Visit the RetroShare forums for the latest news and support"
LangString FINISHPAGELINK ${LANG_RUSSIAN} "Visit the RetroShare forums for the latest news and support"
LangString FINISHPAGELINK ${LANG_SWEDISH} "Besök RetroShare forum för de senaste nyheterna och stöd"
2012-08-16 03:27:07 -04:00
LangString FINISHPAGELINK ${LANG_SPANISH} "Visite los foros de RetroShare para las últimas noticias y soporte"
2012-03-16 06:15:00 -04:00
LangString FINISHPAGELINK ${LANG_ITALIAN} "Visita i forum di RetroShare per le ultime novità ed il supporto"
2012-03-07 09:55:54 -05:00
LangString FINISHPAGELINK ${LANG_GREEK} "Visit the RetroShare forums for the latest news and support"
LangString FINISHPAGELINK ${LANG_PORTUGUESEBR} "Visit the RetroShare forums for the latest news and support"
2010-02-26 20:29:00 -05:00
LangString ^UninstallLink ${LANG_ENGLISH} "Uninstall"
LangString ^UninstallLink ${LANG_GERMAN} "Deinstallieren"
2012-09-24 10:07:56 -04:00
LangString ^UninstallLink ${LANG_TURKISH} "Kald<6C> r"
2010-02-26 20:29:00 -05:00
LangString ^UninstallLink ${LANG_FRENCH} "Désinstaller"
2012-09-24 10:07:56 -04:00
LangString ^UninstallLink ${LANG_SIMPCHINESE} "卸载"
2010-02-26 20:29:00 -05:00
LangString ^UninstallLink ${LANG_POLISH} "Odinstaluj"
2010-03-15 19:25:10 -04:00
LangString ^UninstallLink ${LANG_DANISH} "Afinstaller"
LangString ^UninstallLink ${LANG_JAPANESE} "Uninstall"
LangString ^UninstallLink ${LANG_KOREAN} "Uninstall"
LangString ^UninstallLink ${LANG_RUSSIAN} "Uninstall"
LangString ^UninstallLink ${LANG_SWEDISH} "Avinstallera"
2012-03-07 09:55:54 -05:00
LangString ^UninstallLink ${LANG_SPANISH} "Desinstalar"
LangString ^UninstallLink ${LANG_ITALIAN} "Disinstallare"
2012-09-24 10:07:56 -04:00
LangString ^UninstallLink ${LANG_GREEK} "Απεγκατάσταση"
2012-03-07 09:55:54 -05:00
LangString ^UninstallLink ${LANG_PORTUGUESEBR} "Desinstalar"
2007-11-14 22:18:48 -05:00
; eof