Я получаю следующую ошибку в журнале bitrock_installer при попытке установить postgresql (postgresql-9.4.4-3-windows x64):

Script output: 
Input Error: Can not find script file "C:\Users\administrator\Local Settings\postgresql_installer_71e39a3390\prerun_checks.vbs". 

Ниже приведен полный журнал bitrock_installer:

Log started 08/17/2015 at 13:17:43 
Preferred installation mode : qt 
Trying to init installer in mode qt 
Trying to init installer in mode qt 
Trying to init installer in mode win32 
Mode win32 successfully initialized 
Executing C:\Users\administrator\Local Settings/postgresql_installer_71e39a3390/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-9.4 Data Directory. Setting variable iDataDirectory to empty value 
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.4 Base Directory. Setting variable iBaseDirectory to empty value 
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.4 Service ID. Setting variable iServiceName to empty value 
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.4 Service Account. Setting variable iServiceAccount to empty value 
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.4 Super User. Setting variable iSuperuser to empty value 
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.4 Branding. Setting variable iBranding to empty value 
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.4 Version. Setting variable brandingVer to empty value 
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.4 Shortcuts. Setting variable iShortcut to empty value 
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.4 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value 
[13:17:47] Existing base directory: 
[13:17:47] Existing data directory: 
[13:17:47] Using branding: PostgreSQL 9.4 (x86) 
[13:17:47] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkService 
[13:17:47] Using Service Name: postgresql-9.4 
Executing cscript //NoLogo "C:\Users\administrator\Local Settings\postgresql_installer_71e39a3390\prerun_checks.vbs" 
Script exit code: 1 

Script output: 
Input Error: Can not find script file "C:\Users\administrator\Local Settings\postgresql_installer_71e39a3390\prerun_checks.vbs". 

Script stderr: 
Program ended with an error exit code 

Error running cscript //NoLogo "C:\Users\administrator\Local Settings\postgresql_installer_71e39a3390\prerun_checks.vbs": Program ended with an error exit code

Любые предложения о том, что проблема может быть?

Заранее спасибо.

1 ответ1

0

Решил это, изменив пользовательские переменные окружения " TEMP " и " TMP " из:

C:\Users\administrator\Local Settings\Temp

в

C:\Users\administrator\AppData\Local\Temp

Причиной этого является то, что Microsoft изменила некоторые символические ссылки. Подробнее читайте здесь: https://msdn.microsoft.com/en-us/library/bb756982.aspx

Всё ещё ищете ответ? Посмотрите другие вопросы с метками .