EnterpriseDB / edb-installers

PostgreSQL installers packaged by EDB
36 stars 11 forks source link

Silent installation issue on FR language System - postgresql-17.0-1 Application #206

Open Ujola opened 4 days ago

Ujola commented 4 days ago

Hello,

we have created the package of PostgreSQL 17.0-1 Application. We have used the command line parameter for installation is this: “postgresql-17.0-1-windows-x64.exe--mode unattended --unattendedmodeui none --optionfile C:\Temp\Install” This is working in English language machine, but it is failing in French language machine and throwing below error:

"There has been an error error while writing file C:\windows\Temp\postgresql_installer_8b85d458af\temp_check_comspec.bat"

we tried giving permission to this folder, then we have used “--installer-launage fr” parameter “--locale fr” parameters but still not working. I have attached the log here.

Log started 11/14/2024 at 09:04:33 Preferred installation mode : unattended Trying to init installer in mode unattended Mode unattended successfully initialized Setting variable whoami from C:\WINDOWS\System32\whoami Script exit code: 0

Script output: autorite nt\système

Script stderr:

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-17 Base Directory. Setting variable iBaseDirectory to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-17 Branding. Setting variable iBranding to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-17 Version. Setting variable brandingVer to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-17 Shortcuts. Setting variable iShortcut to empty value [09:04:35] Using branding: PostgreSQL 17 Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-17 SB_Version. Setting variable sb_version to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-17 pgAdmin_Version. Setting variable pgadmin_version to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-17 CLT_Version. Setting variable clt_version to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-17 Data Directory. Setting variable server_data_dir to empty value Erreur d'écriture du fichier C:/Windows/Temp/postgresql_installer_ee9259ae9d/temp_check_comspec.bat Exiting with code 1

Please assist to resolve the issue asap.

sandeep-edb commented 4 hours ago

Hi, Yes it is a known issue for languages other than English when the names carry non-ASCII characters. We are working towards a fix, but there is no ETA unfortunately.