PostgreSQL kann aufgrund von getlocales.exe nicht unter Win10 installiert werden

630
amphibient

Ich kann nicht mehrere Versionen von PostgreSQL(ab 9.4.x und höher) installieren Windows 10, die von hier heruntergeladen werden und jeweils den gleichen Fehler melden:

PostgreSQL kann aufgrund von getlocales.exe nicht unter Win10 installiert werden

Hast du eine Idee, wie du das überwinden kannst? Ich konnte 9.5.x unter Windows 7 installieren.

Ich habe das Verzeichnis postgresql_installer * unter C: \ Users \% USERNAME% \ AppData \ Local \ Temp gesucht, aber es war nicht vorhanden.

Hier sind die Inhalte von bitrock_installer.log:

Log started 08/22/2018 at 12:56:26 Preferred installation mode : qt Trying to init installer in mode qt Mode qt successfully initialized Executing C:\Users\myuser\AppData\Local\Temp/postgresql_installer_3b2cb60a13/temp_check_comspec.bat  Script exit code: 0  Script output: "test ok"  Script stderr:   Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 Data Directory. Setting variable iDataDirectory to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 Base Directory. Setting variable iBaseDirectory to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 Service ID. Setting variable iServiceName to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 Service Account. Setting variable iServiceAccount to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 Super User. Setting variable iSuperuser to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 Branding. Setting variable iBranding to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 Version. Setting variable brandingVer to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 Shortcuts. Setting variable iShortcut to empty value Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.6 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value [12:56:32] Existing base directory:  [12:56:32] Existing data directory:  [12:56:32] Using branding: PostgreSQL 9.6 [12:56:32] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkService [12:56:32] Using Service Name: postgresql-x64-9.6 Executing cscript //NoLogo "C:\Users\myuser\AppData\Local\Temp\postgresql_installer_3b2cb60a13\prerun_checks.vbs" Script exit code: 0  Script output: The scripting host appears to be functional.  Script stderr:   Executing C:\Users\myuser\AppData\Local\Temp\postgresql_installer_3b2cb60a13\vcredist_x64.exe /passive /norestart Script exit code: 3010  Script output:   Script stderr: Program ended with an error exit code  Error running C:\Users\myuser\AppData\Local\Temp\postgresql_installer_3b2cb60a13\vcredist_x64.exe /passive /norestart: Program ended with an error exit code Executing C:\Users\myuser\AppData\Local\Temp\postgresql_installer_3b2cb60a13\vcredist_x86.exe /passive /norestart Script exit code: 0  Script output:   Script stderr:   Executing C:\Users\myuser\AppData\Local\Temp\postgresql_installer_3b2cb60a13\getlocales.exe  Script exit code:   Script output:   Script stderr:   Unknown error while running C:\Users\myuser\AppData\Local\Temp\postgresql_installer_3b2cb60a13\getlocales.exe  

VERBUNDEN:

0
hpw extrahiere ich eine exe-datei? amphibient vor 5 Jahren 0
Ich habe zuerst die exe-Dateien heruntergeladen (z. B. postgresql-9.5.14-1-windows-x64.exe), habe dann aber versucht, die ZIP-Datei herunterzuladen - ich weiß nicht, was ich damit anfangen soll amphibient vor 5 Jahren 0
Ich habe den Inhalt der Protokolldatei gepostet. Warum sagst du, dass sie nichts zu tun haben, sie sind Win10 und Postgres? Der erste zeigt sehr ähnliche Probleme mit Registrierungsschlüsseln amphibient vor 5 Jahren 0
Lassen Sie uns [diese Diskussion im Chat fortsetzen] (https://chat.stackexchange.com/rooms/82088/discussion-between-ramhound-and-amphibient). Ramhound vor 5 Jahren 0
Wenn Sie nur das Installationsprogramm starten, um zum "Willkommen beim PostgreSQL-Einrichtungsassistenten" zu gelangen, wird das Verzeichnis `% temp% \ postgresql_installer_ [rand]` ausgefüllt. Sie können die Datei getlocales.exe aus diesem Verzeichnis kopieren, ohne sie auszuführen der Installer Wenn Sie es in einer Eingabeaufforderung ausführen, gibt es etwas aus? Wenn dies fehlschlägt, würde ich Process Monitor - https://docs.microsoft.com/de-de/sysinternals/downloads/procmon ausführen, wobei ich zumindest den Exit-Code des Process Exit-Ereignisses beachte, da dies hilfreich sein könnte. Suchen Sie auch nach anderen Problemen im Protokoll, und vergleichen Sie möglicherweise eine gute und eine schlechte Spur. HelpingHand vor 5 Jahren 0

0 Antworten auf die Frage