- Reworked Windows Installer

- cleaned code and files
  - changed location of the source files to release build
  - added header logo
  - added standard/portable install
  - added convert of NSIS language files to/from Qt ts files for translation on Transifex
  - waiting for more translations on Transifex
- Fixed format of the french license file
- Updated english translation


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.5@7094 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-02-06 00:02:42 +00:00
parent 11b60073ac
commit 1e3fb3e960
29 changed files with 2904 additions and 660 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -0,0 +1,29 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Instal·la ${APPNAME} i els components necessaris."
!insertmacro LANG_STRING Section_Data "Pells"
!insertmacro LANG_STRING Section_Data_Desc "Instal·la pells."
!insertmacro LANG_STRING Section_Shortcuts "Icones d'accés directe"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Afegir icones d'accés directe."
!insertmacro LANG_STRING Section_StartMenu "Icona del menú d'inici"
!insertmacro LANG_STRING Section_StartMenu_Desc "Afegir icona en el menú d'inici"
!insertmacro LANG_STRING Section_Desktop "Icona d'escriptori"
!insertmacro LANG_STRING Section_Desktop_Desc "Afegir icona a l'escriptori"
!insertmacro LANG_STRING Section_QuickLaunch "Icona de la barra ràpida d'accés"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Afegir icona a la barra ràpida d'accés"
!insertmacro LANG_STRING Section_Plugins "Complements opcionals"
!insertmacro LANG_STRING Section_Plugins_Desc "Components opcionals per afegir funcionalitat."
!insertmacro LANG_STRING Section_Plugin_FeedReader "LectorFonts"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Instal·lar complement LectorFonts."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "NúvolEnllaços"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Instal·lar complement NúvolEnllaços."
!insertmacro LANG_STRING Section_Plugin_VOIP "VeuIP"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Instal·lar complement VeuIP."
!insertmacro LANG_STRING Section_AutoStart "Posada en marxa automàtica"
!insertmacro LANG_STRING Section_AutoStart_Desc "Autoengegar al arrencar."
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
!insertmacro LANG_STRING Page_InstallMode_Desc "Escull com vols instal·lar ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "Instal·lació e&stàndard"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Instal·la ${APPNAME} per la sessió d'usuari actual."
!insertmacro LANG_STRING Page_InstallMode_Portable "Instal·lació &portable."
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "En mode portable les dades de configuració s'emmagatzemen a la carpeta d'aplicació i no s'escriu informació al registre del sistema."
!insertmacro LANG_STRING Link_Uninstall "Desinstal·lar."

View file

@ -0,0 +1,29 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Installiert ${APPNAME} und die benötigten Komponenten."
!insertmacro LANG_STRING Section_Data "Skins"
!insertmacro LANG_STRING Section_Data_Desc "Installs skins."
!insertmacro LANG_STRING Section_Shortcuts "Shortcut icons"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Adds shortcut icons."
!insertmacro LANG_STRING Section_StartMenu "Start Menu icon"
!insertmacro LANG_STRING Section_StartMenu_Desc "Adds icon to start menu."
!insertmacro LANG_STRING Section_Desktop "Desktop icon"
!insertmacro LANG_STRING Section_Desktop_Desc "Adds icon to desktop."
!insertmacro LANG_STRING Section_QuickLaunch "Quick Launch icon"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Adds icon to Quick Launch toolbar."
!insertmacro LANG_STRING Section_Plugins "Optional plugins"
!insertmacro LANG_STRING Section_Plugins_Desc "Optional plugins to extend functionality."
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installs plugin FeedReader."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "Verknüpfungswolke"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Installs plugin LinksCloud."
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installs plugin VOIP."
!insertmacro LANG_STRING Section_AutoStart "Auto Startup"
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-Run at startup."
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
!insertmacro LANG_STRING Page_InstallMode_Desc "Choose how you want to install ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standard Installation"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Install ${APPNAME} for the current user of this machine."
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable Installation"
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "In portable mode all configuration data is stored in the application folder and no information is written to the registry."
!insertmacro LANG_STRING Link_Uninstall "Deinstallieren"

View file

@ -0,0 +1,31 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Installs ${APPNAME} and required components."
!insertmacro LANG_STRING Section_Data "Skins"
!insertmacro LANG_STRING Section_Data_Desc "Installs skins."
!insertmacro LANG_STRING Section_Shortcuts "Shortcut icons"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Adds shortcut icons."
!insertmacro LANG_STRING Section_StartMenu "Start Menu icon"
!insertmacro LANG_STRING Section_StartMenu_Desc "Adds icon to start menu."
!insertmacro LANG_STRING Section_Desktop "Desktop icon"
!insertmacro LANG_STRING Section_Desktop_Desc "Adds icon to desktop."
!insertmacro LANG_STRING Section_QuickLaunch "Quick Launch icon"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Adds icon to Quick Launch toolbar."
!insertmacro LANG_STRING Section_Plugins "Optional plugins"
!insertmacro LANG_STRING Section_Plugins_Desc "Optional plugins to extend functionality."
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installs plugin FeedReader."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Installs plugin LinksCloud."
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installs plugin VOIP."
;!insertmacro LANG_STRING Section_Link "File Association"
;!insertmacro LANG_STRING Section_Link_Desc "Associate ${APPNAME} with .pqi file extension."
!insertmacro LANG_STRING Section_AutoStart "Auto Startup"
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-Run at startup."
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
!insertmacro LANG_STRING Page_InstallMode_Desc "Choose how you want to install ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standard installation"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Install ${APPNAME} for the current user of this machine."
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable installation"
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "In portable mode all configuration data is stored in the application folder and no information is written to the registry."
!insertmacro LANG_STRING Link_Uninstall "Uninstall"

View file

@ -0,0 +1,29 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Instala ${APPNAME} y los componentes requeridos."
!insertmacro LANG_STRING Section_Data "Coberturas (skins)"
!insertmacro LANG_STRING Section_Data_Desc "Instalar coberturas"
!insertmacro LANG_STRING Section_Shortcuts "Iconos de accesos directos"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Añade iconos de accesos directos."
!insertmacro LANG_STRING Section_StartMenu "Icono de menú de inicio"
!insertmacro LANG_STRING Section_StartMenu_Desc "Añade icono al menú de inicio."
!insertmacro LANG_STRING Section_Desktop "Icono del escritorio"
!insertmacro LANG_STRING Section_Desktop_Desc "Añade icono al escritorio"
!insertmacro LANG_STRING Section_QuickLaunch "Icono de inicio rápido"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Añade icono a la Barra de Inicio Rápido"
!insertmacro LANG_STRING Section_Plugins "Complementos opcionales"
!insertmacro LANG_STRING Section_Plugins_Desc "Complementos opcionales para expandir la funcionalidad."
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Instala el complemento FeedReader."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Instala el complemento LinksCloud."
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Instala el complemento VOIP"
!insertmacro LANG_STRING Section_AutoStart "Auto iniciar"
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-ejecutar al incio."
!insertmacro LANG_STRING Page_InstallMode "Modo de instalación"
!insertmacro LANG_STRING Page_InstallMode_Desc "Elija cómo quiere instalar ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "Instalación &Estándar"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Instalar ${APPNAME} para el usuario actual de esta máquina."
!insertmacro LANG_STRING Page_InstallMode_Portable "Instalación &Portátil"
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "En modo portátil, todos los datos de configuración se almacenan en la carpeta de la aplicación y no se escribe ninguna información en el registro."
!insertmacro LANG_STRING Link_Uninstall "Desinstalar"

View file

@ -0,0 +1,29 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Installs ${APPNAME} and required components."
!insertmacro LANG_STRING Section_Data "Skins"
!insertmacro LANG_STRING Section_Data_Desc "Installs skins."
!insertmacro LANG_STRING Section_Shortcuts "Shortcut icons"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Adds shortcut icons."
!insertmacro LANG_STRING Section_StartMenu "Start Menu icon"
!insertmacro LANG_STRING Section_StartMenu_Desc "Adds icon to start menu."
!insertmacro LANG_STRING Section_Desktop "Desktop icon"
!insertmacro LANG_STRING Section_Desktop_Desc "Adds icon to desktop."
!insertmacro LANG_STRING Section_QuickLaunch "Quick Launch icon"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Adds icon to Quick Launch toolbar."
!insertmacro LANG_STRING Section_Plugins "Optional plugins"
!insertmacro LANG_STRING Section_Plugins_Desc "Optional plugins to extend functionality."
!insertmacro LANG_STRING Section_Plugin_FeedReader "Lecteur de flux"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installs plugin FeedReader."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Installs plugin LinksCloud."
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installs plugin VOIP."
!insertmacro LANG_STRING Section_AutoStart "Auto Startup"
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-Run at startup."
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
!insertmacro LANG_STRING Page_InstallMode_Desc "Choose how you want to install ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standard installation"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Install ${APPNAME} for the current user of this machine."
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable installation"
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "In portable mode all configuration data is stored in the application folder and no information is written to the registry."
!insertmacro LANG_STRING Link_Uninstall "Uninstall"

View file

@ -0,0 +1,29 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Installs ${APPNAME} and required components."
!insertmacro LANG_STRING Section_Data "Skins"
!insertmacro LANG_STRING Section_Data_Desc "Installs skins."
!insertmacro LANG_STRING Section_Shortcuts "Shortcut icons"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Adds shortcut icons."
!insertmacro LANG_STRING Section_StartMenu "Start Menu icon"
!insertmacro LANG_STRING Section_StartMenu_Desc "Adds icon to start menu."
!insertmacro LANG_STRING Section_Desktop "Desktop icon"
!insertmacro LANG_STRING Section_Desktop_Desc "Adds icon to desktop."
!insertmacro LANG_STRING Section_QuickLaunch "Quick Launch icon"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Adds icon to Quick Launch toolbar."
!insertmacro LANG_STRING Section_Plugins "Optional plugins"
!insertmacro LANG_STRING Section_Plugins_Desc "Optional plugins to extend functionality."
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installs plugin FeedReader."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Installs plugin LinksCloud."
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installs plugin VOIP."
!insertmacro LANG_STRING Section_AutoStart "Auto Startup"
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-Run at startup."
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
!insertmacro LANG_STRING Page_InstallMode_Desc "Choose how you want to install ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standard installation"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Install ${APPNAME} for the current user of this machine."
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable installation"
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "In portable mode all configuration data is stored in the application folder and no information is written to the registry."
!insertmacro LANG_STRING Link_Uninstall "Uninstall"

View file

@ -0,0 +1,29 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Установка ${APPNAME} и необходимых компонентов."
!insertmacro LANG_STRING Section_Data "Оболочки"
!insertmacro LANG_STRING Section_Data_Desc "Установка оболочек."
!insertmacro LANG_STRING Section_Shortcuts "Ярлыки"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Добавление ярлыков."
!insertmacro LANG_STRING Section_StartMenu "Ярлык меню Пуск"
!insertmacro LANG_STRING Section_StartMenu_Desc "Добавление ярлыка в меню Пуск."
!insertmacro LANG_STRING Section_Desktop "Ярлык на рабочем столе"
!insertmacro LANG_STRING Section_Desktop_Desc "Добавление ярлыка на рабочий стол."
!insertmacro LANG_STRING Section_QuickLaunch "Ярлык в панели быстрого запуска"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Добавление ярлыка на панель быстрого запуска."
!insertmacro LANG_STRING Section_Plugins "Дополнительные плагины"
!insertmacro LANG_STRING Section_Plugins_Desc "Дополнительные плагины для расширения функциональности."
!insertmacro LANG_STRING Section_Plugin_FeedReader "FeedReader RSS-агрегатор"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Установка плагина FeedReader."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud Облако ссылок"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Установка плагина LinksCloud."
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Установка плагина VOIP."
!insertmacro LANG_STRING Section_AutoStart "Автозапуск"
!insertmacro LANG_STRING Section_AutoStart_Desc "Автозапуск при загрузке."
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
!insertmacro LANG_STRING Page_InstallMode_Desc "Выберите метод установки ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "Стандартная установка"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Установка ${APPNAME} для текущего пользователя компьютера."
!insertmacro LANG_STRING Page_InstallMode_Portable "Портативная установка"
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "В режиме портативной установки все конфигурационные файлы сохраняются в папку приложения и в реестр не записывается никакой информации."
!insertmacro LANG_STRING Link_Uninstall "Удаление программы"

View file

@ -0,0 +1,29 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Installs ${APPNAME} and required components."
!insertmacro LANG_STRING Section_Data "Skins"
!insertmacro LANG_STRING Section_Data_Desc "Installs skins."
!insertmacro LANG_STRING Section_Shortcuts "Shortcut icons"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Adds shortcut icons."
!insertmacro LANG_STRING Section_StartMenu "Start Menu icon"
!insertmacro LANG_STRING Section_StartMenu_Desc "Adds icon to start menu."
!insertmacro LANG_STRING Section_Desktop "Desktop icon"
!insertmacro LANG_STRING Section_Desktop_Desc "Adds icon to desktop."
!insertmacro LANG_STRING Section_QuickLaunch "Quick Launch icon"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Adds icon to Quick Launch toolbar."
!insertmacro LANG_STRING Section_Plugins "Optional plugins"
!insertmacro LANG_STRING Section_Plugins_Desc "Optional plugins to extend functionality."
!insertmacro LANG_STRING Section_Plugin_FeedReader "AkışOkuyucu"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installs plugin FeedReader."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "BağlantıBulutu"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Installs plugin LinksCloud."
!insertmacro LANG_STRING Section_Plugin_VOIP "VOIP"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installs plugin VOIP."
!insertmacro LANG_STRING Section_AutoStart "Auto Startup"
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-Run at startup."
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
!insertmacro LANG_STRING Page_InstallMode_Desc "Choose how you want to install ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standard installation"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Install ${APPNAME} for the current user of this machine."
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable installation"
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "In portable mode all configuration data is stored in the application folder and no information is written to the registry."
!insertmacro LANG_STRING Link_Uninstall "Uninstall"

View file

@ -0,0 +1,205 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.0">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation>${APPNAME}</translation>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation>Instal·la ${APPNAME} i els components necessaris.</translation>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation>Pells</translation>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation>Instal·la pells.</translation>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation>Icones d&apos;accés directe</translation>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation>Afegir icones d&apos;accés directe.</translation>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation>Icona del menú d&apos;inici</translation>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation>Afegir icona en el menú d&apos;inici</translation>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation>Icona d&apos;escriptori</translation>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation>Afegir icona a l&apos;escriptori</translation>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation>Icona de la barra ràpida d&apos;accés</translation>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation>Afegir icona a la barra ràpida d&apos;accés</translation>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation>Complements opcionals</translation>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation>Components opcionals per afegir funcionalitat.</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation>LectorFonts</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation>Instal·lar complement LectorFonts.</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation>NúvolEnllaços</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation>Instal·lar complement NúvolEnllaços.</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation>VeuIP</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation>Instal·lar complement VeuIP.</translation>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation>Posada en marxa automàtica</translation>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation>Autoengegar al arrencar.</translation>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation>Escull com vols instal·lar ${APPNAME}.</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation>Instal·lació e&amp;stàndard</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation>Instal·la ${APPNAME} per la sessió d&apos;usuari actual.</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation>Instal·lació &amp;portable.</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation>En mode portable les dades de configuració s&apos;emmagatzemen a la carpeta d&apos;aplicació i no s&apos;escriu informació al registre del sistema.</translation>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation>Desinstal·lar.</translation>
</message>
</context>
</TS>

View file

@ -0,0 +1,27 @@
@echo off
:: Very simple conversion from *.ts to *.nsh using xslt
pushd "%~dp0"
if "%1"=="" (
for %%F in (*.ts) do if "%%F" NEQ "en.ts" call :convert %%~nF
goto :exit
)
call :convert %1
:exit
popd
goto :EOF
:convert
if not exist "%~1.ts" (
echo File "%~1.ts" not found.
goto :EOF
)
echo %~1
"%~dp0xsltproc.exe" --output "%~dp0..\%~1.nsh" "%~dp0convert_from_ts.xsl" "%~1.ts"

View file

@ -0,0 +1,20 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:strip-space elements="*"/>
<xsl:template match="context">
<xsl:text>!insertmacro LANG_STRING </xsl:text>
<xsl:value-of select="./name"/>
<xsl:text> "</xsl:text>
<xsl:choose>
<xsl:when test="./message/translation!=''"><xsl:value-of select="./message/translation"/></xsl:when>
<xsl:otherwise><xsl:value-of select="./message/source"/></xsl:otherwise>
</xsl:choose>
<xsl:text>"
</xsl:text>
</xsl:template>
</xsl:stylesheet>

View file

@ -0,0 +1,50 @@
@echo off
:: Very simple conversion from *.nsh to *.ts
setlocal
set Language=en
if "%1" NEQ "" set Language=%1
set InputFile=%~dp0..\%Language%.nsh
set OutputFile=%~dp0%Language%.ts
if not exist "%InputFile%" (
echo File %InputFile% not found.
goto :exit
)
echo ^<?xml version="1.0" encoding="utf-8"?^> >"%OutputFile%"
echo ^<!DOCTYPE TS^> >>"%OutputFile%"
echo ^<TS version="2.0" language="en_US"^> >>"%OutputFile%"
for /F "tokens=1,2,3,*" %%A in (%InputFile%) do if "%%A"=="!insertmacro" call :context %%C %%D
echo ^</TS^> >>"%OutputFile%"
:exit
endlocal
goto :EOF
:context
setlocal EnableDelayedExpansion
:: Simple replace of & to &amp;
set Text=%2
set Text=%Text:&=^&amp;%
set Text=%Text:~1,-1%
echo !Text!
echo ^<context^> >>"%OutputFile%"
echo ^<name^>%~1^</name^> >>"%OutputFile%"
echo ^<message^> >>"%OutputFile%"
echo ^<source^>!Text!^</source^> >>"%OutputFile%"
echo ^<translation type="unfinished"^>^</translation^> >>"%OutputFile%"
echo ^</message^> >>"%OutputFile%"
echo ^</context^> >>"%OutputFile%"
endlocal
goto :EOF

View file

@ -0,0 +1,205 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="de" version="2.0">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation>${APPNAME}</translation>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation>Installiert ${APPNAME} und die benötigten Komponenten.</translation>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation>FeedReader</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation>Verknüpfungswolke</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation>VOIP</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation>&amp;Standard Installation</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation>&amp;Portable Installation</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation>Deinstallieren</translation>
</message>
</context>
</TS>

View file

@ -0,0 +1,207 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en_US">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

View file

@ -0,0 +1,205 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.0">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation>${APPNAME}</translation>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation>Instala ${APPNAME} y los componentes requeridos.</translation>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation>Coberturas (skins)</translation>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation>Instalar coberturas</translation>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation>Iconos de accesos directos</translation>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation>Añade iconos de accesos directos.</translation>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation>Icono de menú de inicio</translation>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation>Añade icono al menú de inicio.</translation>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation>Icono del escritorio</translation>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation>Añade icono al escritorio</translation>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation>Icono de inicio rápido</translation>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation>Añade icono a la Barra de Inicio Rápido</translation>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation>Complementos opcionales</translation>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation>Complementos opcionales para expandir la funcionalidad.</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation>FeedReader</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation>Instala el complemento FeedReader.</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation>LinksCloud</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation>Instala el complemento LinksCloud.</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation>VOIP</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation>Instala el complemento VOIP</translation>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation>Auto iniciar</translation>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation>Auto-ejecutar al incio.</translation>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation>Modo de instalación</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation>Elija cómo quiere instalar ${APPNAME}.</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation>Instalación &amp;Estándar</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation>Instalar ${APPNAME} para el usuario actual de esta máquina.</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation>Instalación &amp;Portátil</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation>En modo portátil, todos los datos de configuración se almacenan en la carpeta de la aplicación y no se escribe ninguna información en el registro.</translation>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation>Desinstalar</translation>
</message>
</context>
</TS>

View file

@ -0,0 +1,205 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.0">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation>Lecteur de flux</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation>LinksCloud</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation>VOIP</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation type="unfinished"/>
</message>
</context>
</TS>

View file

@ -0,0 +1,205 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.0">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation>VOIP</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation type="unfinished"/>
</message>
</context>
</TS>

View file

@ -0,0 +1,205 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru" version="2.0">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation>${APPNAME}</translation>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation>Установка ${APPNAME} и необходимых компонентов.</translation>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation>Оболочки</translation>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation>Установка оболочек.</translation>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation>Ярлыки</translation>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation>Добавление ярлыков.</translation>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation>Ярлык меню Пуск</translation>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation>Добавление ярлыка в меню Пуск.</translation>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation>Ярлык на рабочем столе</translation>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation>Добавление ярлыка на рабочий стол.</translation>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation>Ярлык в панели быстрого запуска</translation>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation>Добавление ярлыка на панель быстрого запуска.</translation>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation>Дополнительные плагины</translation>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation>Дополнительные плагины для расширения функциональности.</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation>FeedReader RSS-агрегатор</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation>Установка плагина FeedReader.</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation>LinksCloud Облако ссылок</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation>Установка плагина LinksCloud.</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation>VOIP</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation>Установка плагина VOIP.</translation>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation>Автозапуск</translation>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation>Автозапуск при загрузке.</translation>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation>Выберите метод установки ${APPNAME}.</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation>Стандартная установка</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation>Установка ${APPNAME} для текущего пользователя компьютера.</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation>Портативная установка</translation>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation>В режиме портативной установки все конфигурационные файлы сохраняются в папку приложения и в реестр не записывается никакой информации.</translation>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation>Удаление программы</translation>
</message>
</context>
</TS>

View file

@ -0,0 +1,205 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="tr" version="2.0">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation>AkışOkuyucu</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation>BağlantıBulutu</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation>VOIP</translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation type="unfinished"/>
</message>
</context>
</TS>

Binary file not shown.

View file

@ -0,0 +1,205 @@
<?xml version="1.0" ?><!DOCTYPE TS><TS language="zh_CN" version="2.0">
<context>
<name>Section_Main</name>
<message>
<source>${APPNAME}</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Main_Desc</name>
<message>
<source>Installs ${APPNAME} and required components.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data</name>
<message>
<source>Skins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Data_Desc</name>
<message>
<source>Installs skins.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts</name>
<message>
<source>Shortcut icons</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Shortcuts_Desc</name>
<message>
<source>Adds shortcut icons.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu</name>
<message>
<source>Start Menu icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_StartMenu_Desc</name>
<message>
<source>Adds icon to start menu.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop</name>
<message>
<source>Desktop icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Desktop_Desc</name>
<message>
<source>Adds icon to desktop.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch</name>
<message>
<source>Quick Launch icon</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_QuickLaunch_Desc</name>
<message>
<source>Adds icon to Quick Launch toolbar.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins</name>
<message>
<source>Optional plugins</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugins_Desc</name>
<message>
<source>Optional plugins to extend functionality.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader</name>
<message>
<source>FeedReader</source>
<translation>RSS订阅</translation>
</message>
</context>
<context>
<name>Section_Plugin_FeedReader_Desc</name>
<message>
<source>Installs plugin FeedReader.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud</name>
<message>
<source>LinksCloud</source>
<translation>LinksCloud</translation>
</message>
</context>
<context>
<name>Section_Plugin_LinksCloud_Desc</name>
<message>
<source>Installs plugin LinksCloud.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_Plugin_VOIP</name>
<message>
<source>VOIP</source>
<translation></translation>
</message>
</context>
<context>
<name>Section_Plugin_VOIP_Desc</name>
<message>
<source>Installs plugin VOIP.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart</name>
<message>
<source>Auto Startup</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Section_AutoStart_Desc</name>
<message>
<source>Auto-Run at startup.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode</name>
<message>
<source>Installation Mode</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Desc</name>
<message>
<source>Choose how you want to install ${APPNAME}.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard</name>
<message>
<source>&amp;Standard installation</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Standard_Desc</name>
<message>
<source>Install ${APPNAME} for the current user of this machine.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable</name>
<message>
<source>&amp;Portable installation</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Page_InstallMode_Portable_Desc</name>
<message>
<source>In portable mode all configuration data is stored in the application folder and no information is written to the registry.</source>
<translation type="unfinished"/>
</message>
</context>
<context>
<name>Link_Uninstall</name>
<message>
<source>Uninstall</source>
<translation type="unfinished"/>
</message>
</context>
</TS>

View file

@ -0,0 +1,29 @@
!insertmacro LANG_STRING Section_Main "${APPNAME}"
!insertmacro LANG_STRING Section_Main_Desc "Installs ${APPNAME} and required components."
!insertmacro LANG_STRING Section_Data "Skins"
!insertmacro LANG_STRING Section_Data_Desc "Installs skins."
!insertmacro LANG_STRING Section_Shortcuts "Shortcut icons"
!insertmacro LANG_STRING Section_Shortcuts_Desc "Adds shortcut icons."
!insertmacro LANG_STRING Section_StartMenu "Start Menu icon"
!insertmacro LANG_STRING Section_StartMenu_Desc "Adds icon to start menu."
!insertmacro LANG_STRING Section_Desktop "Desktop icon"
!insertmacro LANG_STRING Section_Desktop_Desc "Adds icon to desktop."
!insertmacro LANG_STRING Section_QuickLaunch "Quick Launch icon"
!insertmacro LANG_STRING Section_QuickLaunch_Desc "Adds icon to Quick Launch toolbar."
!insertmacro LANG_STRING Section_Plugins "Optional plugins"
!insertmacro LANG_STRING Section_Plugins_Desc "Optional plugins to extend functionality."
!insertmacro LANG_STRING Section_Plugin_FeedReader "RSS订阅"
!insertmacro LANG_STRING Section_Plugin_FeedReader_Desc "Installs plugin FeedReader."
!insertmacro LANG_STRING Section_Plugin_LinksCloud "LinksCloud"
!insertmacro LANG_STRING Section_Plugin_LinksCloud_Desc "Installs plugin LinksCloud."
!insertmacro LANG_STRING Section_Plugin_VOIP "语音"
!insertmacro LANG_STRING Section_Plugin_VOIP_Desc "Installs plugin VOIP."
!insertmacro LANG_STRING Section_AutoStart "Auto Startup"
!insertmacro LANG_STRING Section_AutoStart_Desc "Auto-Run at startup."
!insertmacro LANG_STRING Page_InstallMode "Installation Mode"
!insertmacro LANG_STRING Page_InstallMode_Desc "Choose how you want to install ${APPNAME}."
!insertmacro LANG_STRING Page_InstallMode_Standard "&Standard installation"
!insertmacro LANG_STRING Page_InstallMode_Standard_Desc "Install ${APPNAME} for the current user of this machine."
!insertmacro LANG_STRING Page_InstallMode_Portable "&Portable installation"
!insertmacro LANG_STRING Page_InstallMode_Portable_Desc "In portable mode all configuration data is stored in the application folder and no information is written to the registry."
!insertmacro LANG_STRING Link_Uninstall "Uninstall"

View file

@ -0,0 +1,56 @@
@echo off
setlocal
:: Modify variable when makensis.exe doesn't exist in PATH
set NSIS_EXE=makensis.exe
:: Set needed environment variables
if "%SourceDir%"=="" set SourceDir=
if "%ReleaseDir%"=="" set ReleaseDir=
if "%QtDir%"=="" set QtDir=
if "%MinGWDir%"=="" set MinGWDir=
:: Check environment variables
if "%SourceDir%"=="" call :error_environment & goto :exit
if "%ReleaseDir%"=="" call :error_environment & goto :exit
if "%QtDir%"=="" call :error_environment & goto :exit
if "%MinGWDir%"=="" call :error_environment & goto :exit
:: Scan version from source
set Version=
set VersionFile="%SourceDir%\retroshare-gui\src\util\rsguiversion.h"
if not exist "%VersionFile%" (
echo.
echo Version file doesn't exist.
echo %VersionFile%
goto :exit
)
for /F "usebackq tokens=1,2,*" %%A in (%VersionFile%) do (
if "%%A"=="#define" (
if "%%B"=="GUI_VERSION" (
set Version=%%~C
)
)
)
if "%Version%"=="" (
echo.
echo Version not found in
echo %VersionFile%
goto :exit
)
:: Create installer
"%NSIS_EXE%" "%~dp0retroshare.nsi"
:exit
endlocal
goto :EOF
:error_environment
echo.
echo Please set the needed environment variables.

View file

@ -1,46 +0,0 @@
#!/bin/sh
###
#
#
#
QTGUI_DIR=../devel/retroshare-package-v0.4.09b/src/svn-retroshare/retroshare-gui/src
INST_DIR=../devel/retroshare-package-v0.4.09b/src/svn-retroshare/build_scripts/Windows/
EXEC=release/Retroshare.exe
BIN_DIR=./release
NSIS_EXE="/cygdrive/c/Program\ Files/NSIS/makensis.exe"
cp $QTGUI_DIR/$EXEC $BIN_DIR
echo cp $QTGUI_DIR/$EXEC $BIN_DIR
# copy skin files.
cp -r $QTGUI_DIR/qss/* $BIN_DIR/qss
echo 'cp -r $QTGUI_DIR/qss/* $BIN_DIR/qss'
#
cp -r $QTGUI_DIR/skin/* $BIN_DIR/skin
echo 'cp $QTGUI_DIR/skin/* $BIN_DIR/skin'
#
cp -r $QTGUI_DIR/emoticons/* $BIN_DIR/emoticons/
echo cp -r $QTGUI_DIR/emoticons/* $BIN_DIR/emoticons/
cp -r $QTGUI_DIR/style/* $BIN_DIR/style
echo 'cp -r $QTGUI_DIR/style/* $BIN_DIR/style'
./stripSVN.sh release
echo ./stripSVN.sh release
cp $INST_DIR/retroshare.nsi ./
echo cp $QTGUI_DIR/retroshare.nsi ./
cp $QTGUI_DIR/license/* ./license/
echo cp $QTGUI_DIR/license/* ./license/
cp $QTGUI_DIR/gui/images/splash.bmp ./gui/images/
echo cp $QTGUI_DIR/gui/images/splash.bmp ./gui/images/
#cp $QTGUI_DIR/release/changelog.txt ./release/changelog.txt
#echo cp $QTGUI_DIR/release/changelog.txt ./release/changelog.txt
"/cygdrive/c/Program Files/NSIS/makensis.exe" retroshare.nsi
#$NSIS_EXE retroshare.nsi

View file

@ -1,27 +1,51 @@
; Script generated with the Venis Install Wizard & modified by defnax
; Reworked by Thunder
; Define your application name
# Application name and version
!define APPNAME "RetroShare"
!define VERSION "0.4.13c"
!define VERSION "$%Version%"
!define APPNAMEANDVERSION "${APPNAME} ${VERSION}"
; Main Install settings
# Source and release path
!define SourceDir "$%SourceDir%"
!define ReleaseDir "$%ReleaseDir%"
!define QtDir "$%QtDir%"
!define MinGWDir "$%MinGWDir%"
# Install path
!define INSTDIR_NORMAL "$ProgramFiles\${APPNAME}"
!define INSTDIR_PORTABLE "$Desktop\${APPNAME}"
!define DATADIR_NORMAL "$APPDATA\${APPNAME}"
!define DATADIR_PORTABLE "$INSTDIR\Data"
# Main Install settings
Name "${APPNAMEANDVERSION}"
InstallDir "$PROGRAMFILES\RetroShare"
;InstallDir "$PROGRAMFILES\RetroShare"
InstallDirRegKey HKLM "Software\${APPNAME}" ""
OutFile "RetroShare_${VERSION}_setup.exe"
BrandingText "${APPNAMEANDVERSION}"
; Use compression
SetCompressor LZMA
RequestExecutionlevel highest
# Use compression
SetCompressor /SOLID LZMA
; Modern interface settings
# Global variables
Var PortableMode
Var InstDirNormal
Var InstDirPortable
Var DataDir
Var StyleSheetDir
# Modern interface settings
!include Sections.nsh
!include nsDialogs.nsh
!include "MUI.nsh"
;Interface Settings
# Interface Settings
!define MUI_ABORTWARNING
;!define MUI_HEADERIMAGE
;!define MUI_HEADERIMAGE_BITMAP "retroshare.bmp" ; optional
!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "${SourceDir}\build_scripts\Windows\HeaderImage.bmp"
;!define MUI_WELCOMEFINISHPAGE_BITMAP "...bmp"
# MUI defines
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\orange-install.ico"
@ -36,144 +60,63 @@ SetCompressor LZMA
!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
;!define MUI_LANGDLL_REGISTRY_ROOT HKLM
;!define MUI_LANGDLL_REGISTRY_KEY ${REGKEY}
;!define MUI_LANGDLL_REGISTRY_VALUENAME InstallerLanguage
;!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. "
;!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. "
; Defines the un-/installer logo of RetroShare
# Defines the un-/installer logo of RetroShare
!insertmacro MUI_DEFAULT MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\orange.bmp"
!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
;!insertmacro MUI_RESERVEFILE_SPECIALBITMAP
LicenseLangString myLicenseData 1033 "license\license.txt"
LicenseLangString myLicenseData 1031 "license\license-GER.txt"
LicenseLangString myLicenseData 1036 "license\license-FR.txt"
LicenseLangString myLicenseData 1055 "license\license-TR.txt"
LicenseLangString myLicenseData 2052 "license\license.txt"
LicenseLangString myLicenseData 1045 "license\license.txt"
LicenseData $(myLicenseData)
# Installer pages
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "$(myLicenseData)"
!insertmacro MUI_PAGE_COMPONENTS
Page Custom PortableModePageCreate PortableModePageLeave
!define MUI_PAGE_CUSTOMFUNCTION_LEAVE dir_leave
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
# Set languages (first is default language)
!insertmacro MUI_RESERVEFILE_LANGDLL
ReserveFile "${NSISDIR}\Plugins\AdvSplash.dll"
# Installer languages
!define MUI_LANGDLL_ALLLANGUAGES
!insertmacro MUI_LANGUAGE English
!insertmacro MUI_LANGUAGE German
!insertmacro MUI_LANGUAGE French
!insertmacro MUI_LANGUAGE Turkish
!insertmacro MUI_LANGUAGE SimpChinese
!insertmacro MUI_LANGUAGE Polish
# Translations
!macro LANG_LOAD LANGUAGE LANGCODE LANGID LICENCEFILE
!insertmacro MUI_LANGUAGE "${LANGUAGE}"
; !verbose off
!define LANG "${LANGUAGE}"
!include "lang\${LANGCODE}.nsh"
LangString LANGUAGEID "${LANG_${LANG}}" "1031"
LicenseLangString myLicenseData ${LANGCODE} ${LICENCEFILE}
; !verbose on
!undef LANG
!macroend
!macro LANG_STRING NAME VALUE
LangString "${NAME}" "${LANG_${LANG}}" "${VALUE}"
!macroend
;Component-selection page
;Titles
LangString sec_main ${LANG_ENGLISH} "Program Files"
LangString sec_data ${LANG_ENGLISH} "Program Skins"
LangString sec_shortcuts ${LANG_ENGLISH} "Shortcuts"
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."
LangString DESC_sec_data ${LANG_ENGLISH} "Installs RetroShare Skins"
LangString DESC_sec_shortcuts ${LANG_ENGLISH} "Create RetroShare shortcut icons."
LangString DESC_sec_link ${LANG_ENGLISH} "Associate RetroShare with .pqi file extension"
LangString DESC_sec_autostart ${LANG_ENGLISH} "Auto-Run and Login at Startup"
LangString LANGUAGEID ${LANG_ENGLISH} "1033"
LangString sec_main ${LANG_FRENCH} "RetroShare"
LangString sec_data ${LANG_FRENCH} "Programme de Skins"
LangString sec_shortcuts ${LANG_FRENCH} "Raccourcis"
LangString sec_link ${LANG_FRENCH} "RetroShare fichiers Association"
LangString sec_startmenu ${LANG_FRENCH} "Raccourcis du menu Démarrer"
LangString sec_autostart ${LANG_FRENCH} "Démarrage automatique"
LangString DESC_sec_main ${LANG_FRENCH} "Installe les fichiers du programme."
LangString DESC_sec_data ${LANG_FRENCH} "Installe RetroShare Skins"
LangString DESC_sec_startmenu ${LANG_FRENCH} "Crée les raccourcis du menu Démarrer"
LangString DESC_sec_shortcuts ${LANG_FRENCH} "Crée une icône sur le bureau."
LangString DESC_sec_link ${LANG_FRENCH} "Associate RetroShare with .pqi file extension"
LangString DESC_sec_autostart ${LANG_FRENCH} "Run and Auto-connexion au démarrage"
LangString LANGUAGEID ${LANG_FRENCH} "1036"
!insertmacro LANG_LOAD "English" "en" "1033" "${SourceDir}\retroshare-gui\src\license\license.txt"
!insertmacro LANG_LOAD "French" "fr" "1036" "${SourceDir}\retroshare-gui\src\license\license-FR.txt"
!insertmacro LANG_LOAD "German" "de" "1031" "${SourceDir}\retroshare-gui\src\license\license-GER.txt"
!insertmacro LANG_LOAD "Turkish" "tr" "1055" "${SourceDir}\retroshare-gui\src\license\license-TR.txt"
!insertmacro LANG_LOAD "SimpChinese" "zh_CN" "2052" "${SourceDir}\retroshare-gui\src\license\license.txt"
!insertmacro LANG_LOAD "Polish" "pl" "1045" "${SourceDir}\retroshare-gui\src\license\license.txt"
!insertmacro LANG_LOAD "Spanish" "es" "1034" "${SourceDir}\retroshare-gui\src\license\license.txt"
!insertmacro LANG_LOAD "Russian" "ru" "1049" "${SourceDir}\retroshare-gui\src\license\license.txt"
!insertmacro LANG_LOAD "Catalan" "ca_ES" "1027" "${SourceDir}\retroshare-gui\src\license\license.txt"
LangString sec_main ${LANG_GERMAN} "Programmdateien"
LangString sec_data ${LANG_GERMAN} "Skins f<>r das Programm"
LangString sec_shortcuts ${LANG_GERMAN} "Shortcuts"
LangString sec_link ${LANG_GERMAN} "Dateiverkn<EFBFBD>pfungen"
LangString sec_autostart ${LANG_GERMAN} "Auto Startup"
LangString DESC_sec_main ${LANG_GERMAN} "Installiert die erforderlichen Programmdateien."
LangString DESC_sec_data ${LANG_GERMAN} "Installiert RetroShare Skins"
LangString DESC_sec_shortcuts ${LANG_GERMAN} "Erstellt eine RetroShare Verkn<6B>pfung im Startmen<65>, Desktop oder im Schnellstarter."
LangString DESC_sec_link ${LANG_GERMAN} "RetroShare mit .pqi Dateien verkn<6B>pfen"
LangString DESC_sec_autostart ${LANG_GERMAN} "Beim Neustart automatisch RetroShare starten und sich anmelden"
LangString LANGUAGEID ${LANG_GERMAN} "1031"
LangString sec_main ${LANG_TURKISH} "Program Dosyalar<61>"
LangString sec_data ${LANG_TURKISH} "Program Skinleri"
LangString sec_shortcuts ${LANG_TURKISH} "Shortcut'lar"
LangString sec_link ${LANG_TURKISH} ".pqi Dosya Kaydet"
LangString sec_autostart ${LANG_TURKISH} "Otomatik calistir ve baglan"
LangString DESC_sec_main ${LANG_TURKISH} "Program dosyalar<61>n<EFBFBD> kurar."
LangString DESC_sec_data ${LANG_TURKISH} "RetroShare Skin'leri kurar"
LangString DESC_sec_shortcuts ${TURKISH} "Shortcut yap Start menu , Desktop veya Quicklaunchbar icin."
LangString DESC_sec_link ${LANG_TURKISH} "RetroShare .pqi almas<61> i<>in kaydettirir"
LangString DESC_sec_autostart ${LANG_TURKISH} "Isletim sistemi acildiginda Otomatik olarak calistir ve baglan"
LangString LANGUAGEID ${LANG_TURKISH} "1055"
LangString sec_main ${LANG_SIMPCHINESE} "程序文件"
LangString sec_data ${LANG_SIMPCHINESE} "程序皮肤"
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皮肤"
LangString DESC_sec_shortcuts ${LANG_SIMPCHINESE} "建RetroShare快捷方式"
LangString DESC_sec_link ${LANG_SIMPCHINESE} "关联.pqi扩展名"
LangString DESC_sec_autostart ${LANG_SIMPCHINESE} "启动时自动运行和登录"
LangString LANGUAGEID ${LANG_SIMPCHINESE} "2052"
LangString sec_main ${LANG_POLISH} "Pliki programu"
LangString sec_data ${LANG_POLISH} "Skórki"
LangString sec_shortcuts ${LANG_POLISH} "Skróty"
LangString sec_link ${LANG_POLISH} "Skojarz pliki"
LangString sec_autostart ${LANG_POLISH} "Automatyczne uruchamianie"
LangString DESC_sec_main ${LANG_POLISH} "Instaluje pliki programu RetroShare"
LangString DESC_sec_data ${LANG_POLISH} "Instaluje skórki programu RetroShare"
LangString DESC_sec_shortcuts ${LANG_POLISH} "Utwórz ikony skrótów na pulpicie, w menu start oraz na pasku szybkiego uruchamiania."
LangString DESC_sec_link ${LANG_POLISH} "Skojarz pliki o rozszerzeniu .pqi z RetroShare"
LangString DESC_sec_autostart ${LANG_POLISH} "Uruchom i zaloguj podczas startu systemu"
LangString LANGUAGEID ${LANG_POLISH} "1045"
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
Section $(sec_main) sec_main
LicenseData $(myLicenseData)
# Main binaries
Section $(Section_Main) Section_Main
;Set Section required
SectionIn RO
@ -181,210 +124,290 @@ Section $(sec_main) sec_main
SetOverwrite on
; Clears previous error logs
Delete "$INSTDIR\*.log"
; Set Section Files and Shortcuts
SetOutPath "$INSTDIR\"
File /r "release\RetroShare.exe"
File /r "D:\Qt\2009.02\mingw\bin\mingwm10.dll"
File /r "D:\Qt\2009.02\qt\bin\QtCore4.dll"
File /r "D:\Qt\2009.02\qt\bin\QtGui4.dll"
File /r "D:\Qt\2009.02\qt\bin\QtNetwork4.dll"
File /r "D:\Qt\2009.02\qt\bin\QtXml4.dll"
File /r "D:\Qt\2009.02\qt\bin\QtScript4.dll"
File /r "pthreadGCE2.dll"
File /r "pthreadGC2d.dll"
File /r "changelog.txt"
; Delete "$INSTDIR\*.log"
; Main binaries
SetOutPath "$INSTDIR"
File "${ReleaseDir}\retroshare-gui\src\release\RetroShare.exe"
File "${ReleaseDir}\retroshare-nogui\src\release\retroshare-nogui.exe"
; Qt binaries
File "${QtDir}\bin\QtCore4.dll"
File "${QtDir}\bin\QtGui4.dll"
File "${QtDir}\bin\QtMultimedia4.dll"
File "${QtDir}\bin\QtSvg4.dll"
File "${QtDir}\bin\QtXml4.dll"
; MinGW binaries
File "${MinGWDir}\bin\mingwm10.dll"
File "${MinGWDir}\bin\libgcc_s_dw2-1.dll"
File "${MinGWDir}\bin\pthreadGC2.dll"
; External binaries
File "${SourceDir}\..\lib\bin\miniupnpc.dll"
; Other files
File "${SourceDir}\retroshare-gui\src\changelog.txt"
File "${SourceDir}\libbitdht\src\bitdht\bdboot.txt"
; Image formats
SetOutPath "$INSTDIR\imageformats"
File /r "${QtDir}\plugins\imageformats\qgif4.dll"
File /r "${QtDir}\plugins\imageformats\qico4.dll"
File /r "${QtDir}\plugins\imageformats\qjpeg4.dll"
File /r "${QtDir}\plugins\imageformats\qmng4.dll"
File /r "${QtDir}\plugins\imageformats\qsvg4.dll"
File /r "${QtDir}\plugins\imageformats\qtga4.dll"
File /r "${QtDir}\plugins\imageformats\qtiff4.dll"
; Sounds
SetOutPath "$INSTDIR\sounds"
File /r "${SourceDir}\retroshare-gui\src\sounds\*.*"
; Translations
SetOutPath "$INSTDIR\translations"
File /r "${SourceDir}\retroshare-gui\src\translations\*.qm"
File /r "${QtDir}\translations\qt_*.qm"
; License
SetOutPath "$INSTDIR\license"
File /r "${SourceDir}\retroshare-gui\src\license\*.*"
SectionEnd
Section $(sec_data) sec_data
# Plugins
SectionGroup $(Section_Plugins) Section_Plugins
Section $(Section_Plugin_FeedReader) Section_Plugin_FeedReader
SetOutPath "$DataDir\extensions"
File "${ReleaseDir}\plugins\FeedReader\release\FeedReader.dll"
SectionEnd
Section $(Section_Plugin_LinksCloud) Section_Plugin_LinksCloud
SetOutPath "$DataDir\extensions"
File "${ReleaseDir}\plugins\LinksCloud\release\LinksCloud.dll"
SectionEnd
Section $(Section_Plugin_VOIP) Section_Plugin_VOIP
SetOutPath "$DataDir\extensions"
File "${ReleaseDir}\plugins\VOIP\release\VOIP.dll"
SectionEnd
SectionGroupEnd
# Data (Styles)
Section $(Section_Data) Section_Data
; Set Section properties
SetOverwrite on
; Set Section Files and Shortcuts
SetOutPath "$APPDATA\RetroShare\"
;File /r "data\*"
; We're not ready for external skins...
; Set Section qss need to remove svn path
SetOutPath "$INSTDIR\qss\"
File /r qss\*.*
; Set Section skin
; SetOutPath "$INSTDIR\skin\"
; File /r release\skin\*.*
; Chat style
SetOutPath "$StyleSheetDir\stylesheets\Bubble"
File /r "${SourceDir}\retroshare-gui\src\gui\qss\chat\Bubble\*.*"
SetOutPath "$StyleSheetDir\stylesheets\Bubble_Compact"
File /r "${SourceDir}\retroshare-gui\src\gui\qss\chat\Bubble_Compact\*.*"
; Add emoticons
SetOutPath "$INSTDIR\emoticons\"
File /r emoticons\*.*
; Add Chat Style
SetOutPath "$INSTDIR\style\"
File /r style\*.*
; Stylesheets
SetOutPath "$INSTDIR\qss"
File /r "${SourceDir}\retroshare-gui\src\qss\*.*"
SectionEnd
Section $(sec_link) sec_link
;Section $(Section_Link) Section_Link
; Delete any existing keys
; Write the file association
WriteRegStr HKCR .pqi "" retroshare
WriteRegStr HKCR retroshare "" "PQI File"
WriteRegBin HKCR retroshare EditFlags 00000100
WriteRegStr HKCR "retroshare\shell" "" open
WriteRegStr HKCR "retroshare\shell\open\command" "" `"$INSTDIR\RetroShare.exe" "%1"`
SectionEnd
SectionGroup $(sec_shortcuts) sec_shortcuts
Section StartMenu SEC0001
SetOutPath "$INSTDIR"
CreateDirectory "$SMPROGRAMS\${APPNAME}"
CreateShortCut "$SMPROGRAMS\${APPNAME}\$(^UninstallLink).lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
CreateShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
SectionEnd
Section Desktop SEC0002
CreateShortCut "$DESKTOP\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
SectionEnd
Section Quicklaunchbar SEC0003
CreateShortCut "$QUICKLAUNCH\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
SectionEnd
SectionGroupEnd
;Section $(sec_autostart) sec_autostart
; WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "RetroRun" "$INSTDIR\${APPNAME}.exe -a"
; WriteRegStr HKCR .pqi "" retroshare
; WriteRegStr HKCR retroshare "" "PQI File"
; WriteRegBin HKCR retroshare EditFlags 00000100
; WriteRegStr HKCR "retroshare\shell" "" open
; WriteRegStr HKCR "retroshare\shell\open\command" "" `"$INSTDIR\RetroShare.exe" "%1"`
;SectionEnd
Section $(sec_autostart) sec_autostart
CreateShortCut "$SMSTARTUP\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
# Shortcuts
SectionGroup $(Section_Shortcuts) Section_Shortcuts
Section $(Section_StartMenu) Section_StartMenu
SetOutPath "$INSTDIR"
CreateDirectory "$SMPROGRAMS\${APPNAME}"
CreateShortCut "$SMPROGRAMS\${APPNAME}\$(Link_Uninstall).lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
CreateShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
SectionEnd
Section $(Section_Desktop) Section_Desktop
CreateShortCut "$DESKTOP\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
SectionEnd
Section $(Section_QuickLaunch) Section_QuickLaunch
CreateShortCut "$QUICKLAUNCH\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe" 0
SectionEnd
SectionGroupEnd
Section $(Section_AutoStart) Section_AutoStart
WriteRegStr HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "RetroShare" "$INSTDIR\${APPNAME}.exe -m"
SectionEnd
;Section $(Section_AutoStart) Section_AutoStart
; CreateShortCut "$SMSTARTUP\${APPNAME}.lnk" "$INSTDIR\RetroShare.exe" "" "$INSTDIR\RetroShare.exe -m" 0
;SectionEnd
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"
${If} $PortableMode = 0
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"
${Else}
; Create the file the application uses to detect portable mode
FileOpen $0 "$INSTDIR\portable" w
FileClose $0
${EndIf}
SectionEnd
;--------------------------------
;Descriptions
# Descriptions
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${sec_main} $(DESC_sec_main)
!insertmacro MUI_DESCRIPTION_TEXT ${sec_data} $(DESC_sec_data)
!insertmacro MUI_DESCRIPTION_TEXT ${sec_shortcuts} $(DESC_sec_shortcuts)
!insertmacro MUI_DESCRIPTION_TEXT ${sec_link} $(DESC_sec_link)
!insertmacro MUI_DESCRIPTION_TEXT ${sec_autostart} $(DESC_sec_autostart)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_Main} $(Section_Main_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_Data} $(Section_Data_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_Shortcuts} $(Section_Shortcuts_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_StartMenu} $(Section_StartMenu_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_Desktop} $(Section_Desktop_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_QuickLaunch} $(Section_QuickLaunch_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_Plugins} $(Section_Plugins_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_Plugin_FeedReader} $(Section_Plugin_FeedReader_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_Plugin_LinksCloud} $(Section_Plugin_LinksCloud_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_Plugin_VOIP} $(Section_Plugin_VOIP_Desc)
; !insertmacro MUI_DESCRIPTION_TEXT ${Section_Link} $(Section_Link_Desc)
!insertmacro MUI_DESCRIPTION_TEXT ${Section_AutoStart} $(Section_AutoStart_Desc)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
;Uninstall section
# Uninstall
Section "Uninstall"
; Remove file association registry keys
DeleteRegKey HKCR .pqi
DeleteRegKey HKCR retroshare
; DeleteRegKey HKCR .pqi
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...
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"
DeleteRegValue HKCU "Software\Microsoft\Windows\CurrentVersion\Run" "RetroShare"
; Remove shortcuts, if any
Delete "$SMPROGRAMS\${APPNAME}\*.*"
; Remove desktop shortcut
Delete "$DESKTOP\${APPNAME}.lnk"
; Remove Quicklaunch shortcut
Delete "$QUICKLAUNCH\${APPNAME}.lnk"
; Remove Autstart
; Remove Autstart
Delete "$SMSTARTUP\${APPNAME}.lnk"
; Remove directories used
RMDir "$SMPROGRAMS\${APPNAME}"
RMDir /r "$INSTDIR"
RMDir /r "$INSTDIR\qss"
RMDir /r "$INSTDIR\emoticons"
RMDir /r "$INSTDIR\style"
; Don't remove the directory, otherwise
; we lose the XPGP keys.
; Should make this an option though...
RMDir /r "${DATADIR_NORMAL}\extensions"
RMDir /r "${DATADIR_NORMAL}\stylesheets"
SectionEnd
Function .onInit
StrCpy $InstDirNormal "${INSTDIR_NORMAL}"
StrCpy $InstDirPortable "${INSTDIR_PORTABLE}"
InitPluginsDir
Push $R1
File /oname=$PLUGINSDIR\spltmp.bmp "gui\images\splash.bmp"
advsplash::show 1200 1000 1000 -1 $PLUGINSDIR\spltmp
Pop $R1
Pop $R1
!insertmacro MUI_LANGDLL_DISPLAY
StrCpy $PortableMode 0
StrCpy $INSTDIR "$InstDirNormal"
StrCpy $DataDir "${DATADIR_NORMAL}"
InitPluginsDir
Push $R1
File /oname=$PLUGINSDIR\spltmp.bmp "${SourceDir}\retroshare-gui\src\gui\images\splash.png"
advsplash::show 1200 1000 1000 -1 $PLUGINSDIR\spltmp
Pop $R1
Pop $R1
!insertmacro MUI_LANGDLL_DISPLAY
FunctionEnd
# Installation mode
# Installer Language Strings
# TODO Update the Language Strings with the appropriate translations.
Function RequireAdmin
UserInfo::GetAccountType
Pop $8
${If} $8 != "admin"
MessageBox MB_ICONSTOP "You need administrator rights to install ${APPNAME}"
SetErrorLevel 740 ;ERROR_ELEVATION_REQUIRED
Abort
${EndIf}
FunctionEnd
LangString ^UninstallLink ${LANG_ENGLISH} "Uninstall"
LangString ^UninstallLink ${LANG_GERMAN} "Deinstallieren"
LangString ^UninstallLink ${LANG_TURKISH} "Kald<EFBFBD>r"
LangString ^UninstallLink ${LANG_FRENCH} "Désinstaller"
LangString ^UninstallLink ${LANG_SIMPCHINESE} "卸载"
LangString ^UninstallLink ${LANG_POLISH} "Odinstaluj"
Function SetModeDestinationFromInstdir
${If} $PortableMode = 0
StrCpy $InstDirNormal $INSTDIR
${Else}
StrCpy $InstDirPortable $INSTDIR
${EndIf}
FunctionEnd
Function PortableModePageCreate
Call SetModeDestinationFromInstdir ; If the user clicks BACK on the directory page we will remember their mode specific directory
!insertmacro MUI_HEADER_TEXT $(Page_InstallMode) $(Page_InstallMode_Desc)
nsDialogs::Create 1018
Pop $0
${NSD_CreateRadioButton} 5u 25u -10u 8u $(Page_InstallMode_Standard)
Pop $1
${NSD_CreateLabel} 18u 40u -10u 24u $(Page_InstallMode_Standard_Desc)
Pop $0
${NSD_CreateRadioButton} 5u 75u -10u 8u $(Page_InstallMode_Portable)
Pop $2
${NSD_CreateLabel} 18u 90u -10u 24u $(Page_InstallMode_Portable_Desc)
Pop $0
${If} $PortableMode = 0
SendMessage $1 ${BM_SETCHECK} ${BST_CHECKED} 0
${Else}
SendMessage $2 ${BM_SETCHECK} ${BST_CHECKED} 0
${EndIf}
nsDialogs::Show
FunctionEnd
Function PortableModePageLeave
${NSD_GetState} $1 $0
${If} $0 <> ${BST_UNCHECKED}
StrCpy $PortableMode 0
StrCpy $INSTDIR $InstDirNormal
Call RequireAdmin
; Enable sections
SectionSetText ${Section_Shortcuts} $(Section_Shortcuts)
SectionSetText ${Section_StartMenu} $(Section_StartMenu)
SectionSetText ${Section_Desktop} $(Section_Desktop)
SectionSetText ${Section_QuickLaunch} $(Section_QuickLaunch)
SectionSetText ${Section_AutoStart} $(Section_AutoStart)
!insertmacro SelectSection ${Section_Shortcuts}
!insertmacro SelectSection ${Section_AutoStart}
!insertmacro SelectSection ${Section_StartMenu}
!insertmacro SelectSection ${Section_Desktop}
!insertmacro SelectSection ${Section_QuickLaunch}
${Else}
StrCpy $PortableMode 1
StrCpy $INSTDIR $InstDirPortable
; Disable sections
!insertmacro UnselectSection ${Section_Shortcuts}
!insertmacro UnselectSection ${Section_AutoStart}
!insertmacro UnselectSection ${Section_StartMenu}
!insertmacro UnselectSection ${Section_Desktop}
!insertmacro UnselectSection ${Section_QuickLaunch}
SectionSetText ${Section_Shortcuts} ""
SectionSetText ${Section_StartMenu} ""
SectionSetText ${Section_Desktop} ""
SectionSetText ${Section_QuickLaunch} ""
SectionSetText ${Section_AutoStart} ""
${EndIf}
FunctionEnd
; eof
Function dir_leave
${If} $PortableMode = 0
StrCpy $DataDir "${DATADIR_NORMAL}"
StrCpy $StyleSheetDir $DataDir
${Else}
StrCpy $DataDir "${DATADIR_PORTABLE}"
StrCpy $StyleSheetDir $INSTDIR
${EndIf}
FunctionEnd