I\'ve been trying to install the 64bit version of PostgreSQL 9.2 for Windows on my machine (Windows 7 64bit) and get this error:
The environment variable COMPS
I got the same problem, and i found in the log:
Script stderr: 'C:\Users\S300' is not recognized as an internal or external command, operable program or batch file.
Error running C:\Users\S300 (i5)\AppData\Local\Temp/postgresql_installer_56caeadbd6/temp_check_comspec.bat : 'C:\Users\S300' is not recognized as an internal or external command, operable program or batch file.
I change in User Variables TEMP to D:\TEMP and TMP to D:\TEMP. And Solved My Problem.