taler-windows

Windows packaging
Log | Files | Refs

commit 34e7157c1a2c25517aceab9a62a3c5f34d81a50d
parent 0fcd26fa3e7916138863f735a888d0f89392f264
Author: Leayawi <lea.oualli@outlook.fr>
Date:   Wed, 18 Jun 2025 21:01:04 +0200

readme

Diffstat:
Areadme.txt | 81+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Msetup-wsl-debian.bat | 4++--
Mtaler-installer-taler.nsi | 6+++---
3 files changed, 86 insertions(+), 5 deletions(-)

diff --git a/readme.txt b/readme.txt @@ -0,0 +1,81 @@ +# GNU Taler Merchant Windows Installer + +This document clearly explains the purpose and function of each file included in the installation folder for the GNU Taler Merchant backend for Windows using WSL (Windows Subsystem for Linux). + +--- + +## File Structure: + +### Main Scripts + +* **`taler-installer-taler.nsi`** + + * NSIS (Nullsoft Scriptable Install System) script. + * Manages the graphical installation interface for users (folder selection, domain configuration, reverse proxy, and external database). + +* **`setup-wsl-debian.bat`** + + * Main batch script launched by the NSIS script. + * Automates the installation and initial configuration of WSL (Debian or Ubuntu), copies, and executes Bash scripts in WSL. + * Initiates various installation steps, including enabling WSL features, installing the Linux distribution, and configuring the proxy. + +### Bash Scripts for WSL + +* **`install-taler-from-apt.sh`** + + * Bash script executed within WSL. + * Installs GNU Taler Merchant and its dependencies via the APT package manager. + * Generates necessary configurations and starts related services. + +* **`test-db.sh`** + + * Bash script executed within WSL. + * Checks if a user-provided external PostgreSQL URL is accessible and valid. + +* **`set-db.sh`** + + * Bash script executed within WSL. + * Updates the Taler Merchant backend configuration with the validated external PostgreSQL URL. + +### Additional Files + +* **`run-admin.bat`** + + * Batch script for executing specific administrative commands in WSL, if needed. + +* **`test-if.bat`** + + * Simple batch script used for testing specific conditions (used for debugging and script tests). + +### Graphical Resources and Icons + +* **`logo-header.ico`** + + * Main icon displayed in the NSIS installer. + +* **`logo-header.bmp`** + + * Image used in the header of installation windows. + +* **`logo-welcome.bmp`** + + * Image displayed on the welcome page of the NSIS installer. + +### Other Files + +* **`.gitignore`** + + * Git configuration file to ignore unnecessary files in the repository. + +* **`taler-installer.exe`** + + * Executable generated by NSIS, allowing simplified installation of GNU Taler Merchant on Windows. + +--- + +## General Instructions: + +* Start the installation using `taler-installer.exe`. +* Follow the steps provided in the NSIS interface. +* Installation logs are generated in `C:\Users\Public\install.log` to facilitate debugging. + diff --git a/setup-wsl-debian.bat b/setup-wsl-debian.bat @@ -214,7 +214,7 @@ if /I "%PROXY_TYPE%"=="APACHE" ( ) echo. -echo GNU Taler-Merchant installed successfully! -timeout /t 5 /nobreak >nul +echo [INFO] Installation terminee. La fenetre se fermera dans 30 secondes... +timeout /t 120 /nobreak >nul exit /b diff --git a/taler-installer-taler.nsi b/taler-installer-taler.nsi @@ -110,7 +110,7 @@ LangString ASK_DB_NO ${LANG_ENGLISH} "No, use local database (default)" LangString ASK_DB_NO ${LANG_FRENCH} "Non, utiliser la base locale (par défaut)" LangString ENTER_DB_URL_LABEL ${LANG_ENGLISH} "Enter the external PostgreSQL URL (e.g.: postgresql://user:pass@host:5432/dbname):" -LangString ENTER_DB_URL_LABEL ${LANG_FRENCH} "Entrez l'URL PostgreSQL externe (ex : postgresql://user:pass@host:5432/dbname) :" +LangString ENTER_DB_URL_LABEL ${LANG_FRENCH} "Entrez l'URL PostgreSQL externe (ex:postgresql://user:pass@host:5432/dbname) :" LangString DB_URL_REQUIRED ${LANG_ENGLISH} "You must enter a valid URL." LangString DB_URL_REQUIRED ${LANG_FRENCH} "Vous devez entrer une URL valide." @@ -119,7 +119,7 @@ LangString DB_CONN_OK ${LANG_ENGLISH} "External database configured successfully LangString DB_CONN_OK ${LANG_FRENCH} "Base externe configuree avec succès !" LangString DB_CONN_FAIL ${LANG_ENGLISH} "Connection to the database failed. Retry/modify URL or Cancel to use local." -LangString DB_CONN_FAIL ${LANG_FRENCH} "La connexion à la base a echoue. Réessayer/modifier l'URL ou Annuler pour rester en local." +LangString DB_CONN_FAIL ${LANG_FRENCH} "La connexion a la base a echoue. Reessayer/modifier l'URL ou Annuler pour rester en local." @@ -213,7 +213,7 @@ Function ReverseProxyPage ${NSD_CreateRadioButton} 0 30u 100% 12u $(MSG_HTTP_ONLY) Pop $RADIO_HTTP_ONLY - ; Si domaine = localhost, griser/désactiver HTTPS et forcer HTTP + ; Si domaine = localhost, griser/desactiver HTTPS et forcer HTTP ${NSD_CreateRadioButton} 0 45u 100% 12u $(MSG_HTTPS) Pop $RADIO_HTTPS