我无法安装从 上下载的多个版本PostgreSQL
(从 9.4.x 到更高版本)Windows 10
这里,每个都报告相同的错误:
有什么办法可以解决这个问题吗?我能够在 Windows 7 上安装 9.5.x。
我在 C:\Users\%USERNAME%\AppData\Local\Temp 下寻找 postgresql_installer* 目录,但是它不存在。
以下是 的内容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
有关的: