Não é possível localizar o arquivo de script prerun_checks.vbs ao instalar o postgresql 9.4.4 no Windows x64

0

Estou recebendo o seguinte erro no log do bitrock_installer quando tento instalar o 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". 

Aqui abaixo está o log completo do 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

Alguma sugestão sobre qual é o problema?

Obrigado antecipadamente.

    
por EdvardG 17.08.2015 / 20:45

1 resposta

0

Resolvido, alterando as variáveis de usuário do ambiente " TEMP " e " TMP " de:

C:\Users\administrator\Local Settings\Temp

para

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

A razão por trás disso é que a Microsoft mudou certos links simbólicos. Leia mais aqui: link

    
por 19.08.2015 / 11:17