Saya tidak dapat menginstal beberapa versi PostgreSQL
(mulai dari 9.4.x dan lebih tinggi) pada Windows 10
, diunduh dari sini , masing-masing melaporkan kesalahan yang sama:
Ada ide tentang cara mengatasi ini? Saya dapat menginstal 9.5.x pada Windows 7.
Saya mencari direktori postgresql_installer * di bawah C: \ Users \% USERNAME% \ AppData \ Local \ Temp tetapi tidak ada di sana.
Berikut isinya 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
TERKAIT:
windows-10
installation
postgresql
locale
amfibi
sumber
sumber
%temp%\postgresql_installer_[rand]
Anda dapat menyalin getlocales.exe dari direktori itu untuk bereksperimen dengannya tanpa menjalankan penginstal. Jika Anda menjalankannya di prompt perintah apakah itu menghasilkan sesuatu? Jika gagal, saya akan menjalankan Process Monitor - docs.microsoft.com/en-us/sysinternals/downloads/procmon , setidaknya memperhatikan kode keluar dari acara Proses Keluar karena mungkin membantu. Cari masalah lain di log juga, mungkin membandingkan jejak yang baik dan buruk.