Невозможно установить PostgreSQL на Win10 из-за getlocales.exe

657
amphibient

Я не могу установить несколько версий PostgreSQL(начиная с 9.4.x и выше) Windows 10, скачанных отсюда, каждая из которых сообщает об одной и той же ошибке:

enter image description here

Любая идея о том, как преодолеть это? Мне удалось установить 9.5.x на Windows 7.

Я искал каталог postgresql_installer * в C: \ Users \% USERNAME% \ AppData \ Local \ Temp, но его там не было.

Вот содержание 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  

СВЯЗАННЫЕ С:

0
hpw мне извлечь exe-файл? amphibient 5 лет назад 0
Сначала я скачал exe-файлы (например, postgresql-9.5.14-1-windows-x64.exe), но затем попытался загрузить zip-файл - не знаю, что с ним делать amphibient 5 лет назад 0
Я разместил содержимое файла журнала. Почему вы говорите, что им нечего делать, это Win10 и Postgres? Первый показывает очень похожие проблемы с ключами реестра amphibient 5 лет назад 0
Давайте [продолжим это обсуждение в чате] (https://chat.stackexchange.com/rooms/82088/discussion-between-ramhound-and-amphibient). Ramhound 5 лет назад 0
Если вы просто запустите установщик, чтобы перейти к «Добро пожаловать в мастер установки PostgreSQL», он заполнит каталог `% temp% \ postgresql_installer_ [rand]`, вы можете скопировать getlocales.exe из этого каталога, чтобы поэкспериментировать с ним, не запуская установщик. Если вы запускаете его в командной строке, он выводит что-нибудь? В случае сбоя я бы запустил Process Monitor - https://docs.microsoft.com/en-us/sysinternals/downloads/procmon, по крайней мере обращая внимание на код выхода события Process Exit, поскольку это может помочь. Ищите в журнале и другие проблемы, возможно, сравнивая хороший и плохой след. HelpingHand 5 лет назад 0

0 ответов на вопрос

Похожие вопросы