PostgreSQL 9.5.1无法在Windows 7 64位上安装

时间:2016-03-15 09:06:33

标签: postgresql postgresql-9.5 bitrock

64位和32位安装程序都失败并显示以下消息:

There has been an error.
The environment variable COMSPEC does not seem to point the cmd.exe or there
is a trailing semicolon present. Please fix this variable and restart installation.

我检查了COMSPEC变量,似乎没有问题。我仔细检查:

%COMSPEC%" /C "echo test ok"

一切似乎都好。我迷失在这里。找不到任何帮助。我还附上了安装程序日志:

Log started 03/15/2016 at 10:37:37
Preferred installation mode : qt
Trying to init installer in mode qt
Mode qt successfully initialized
Executing D:\TEMP/postgresql_installer_79c6abfe43/temp_check_comspec.bat 
Script exit code: 1

Script output:


Script stderr:
 '"D:\TEMP\POSTGR~1\TEMP_C~1.BAT"' is not recognized as an internal or external command,
operable program or batch file.

Error running D:\TEMP/postgresql_installer_79c6abfe43/temp_check_comspec.bat : '"D:\TEMP\POSTGR~1\TEMP_C~1.BAT"' is not recognized as an internal or external command,
operable program or batch file.

0 个答案:

没有答案