Windows x64'te postgresql 9.4.4 yüklenirken komut dosyası prerun_checks.vbs bulunamıyor


0

Postgresql (postgresql-9.4.4-3-windows x64) yüklemeye çalıştığımda bitrock_installer günlüğünde aşağıdaki hatayı alıyorum:

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

İşte tam bitrock_installer günlüğü aşağıdadır:

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

Sorunun ne olabileceği ile ilgili herhangi bir öneriniz var mı?

Şimdiden teşekkürler.


Komut dosyasını içinde boşluk olmayan bir yola taşırsanız ne olur?
— albal

Merhaba balbal, hangi senaryoyu kastediyorsunuz?
— EdvardG

Bu komut dosyası C:\Users\administrator\Local Settings\postgresql_installer_71e39a3390\prerun_checks.vbs
— albal

Bu klasörde yok ve postgresql için yükleyiciye her basışımda yeni bir klasör yaratacak (içinde ayrıca prerun_checks.vbs yok). Ancak oluşturulan klasörde temp_check_comspec.bat adı verilen başka bir dosya var.
— EdvardG

Netleştirmek için bir prerun_checks.vbs dosya, ancak bu altında bulunur C:\Users\administrator\AppData\Local. Yükleyiciyi çalıştırdığımda günlüğüm bana prerun_checks.vbs 'u bulamadığını söylüyor C:\Users\administrator\ Local\postgresql_installer_[random identifier].
— EdvardG

Yanıtlar:


0

"Ortam kullanıcı değişkenlerini değiştirerek çözüldü" TEMP " ve " TMP "den:

C:\Users\administrator\Local Settings\Temp

için

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

Bunun arkasındaki nedeni, Microsoft'un bazı sembolik bağları değiştirmesidir. Daha fazlasını buradan okuyun: https://msdn.microsoft.com/en-us/library/bb756982.aspx

Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.