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.