Issue with installation of postgresql server

From: "Karre, Kanakaraju (US - Hyderabad)" <kakarre(at)deloitte(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Cc: "Shiva, Krishna (US - Hyderabad)" <kshiva(at)deloitte(dot)com>, "Subhash Sachdev, Anchal (US - Hyderabad)" <asubhashsachdev(at)deloitte(dot)com>, "kanakaraj(dot)karre(at)gmail(dot)com" <kanakaraj(dot)karre(at)gmail(dot)com>
Subject: Issue with installation of postgresql server
Date: 2016-10-13 11:24:58
Message-ID: SN4PR85MB01262FB09A1B3BB165BE59B7DEDC0@SN4PR85MB0126.NAMPRD85.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have been trying to install Postgresql server on my machine (Windows 8-64 bit version) but it is failing to install by throwing the following error -
"There has been an error. The environment variable COMSPEC does not seem to point to the cmd.exe or there is a trailing semicolon present. Please fix this variable and restart installation ."

I searched some of the forums where the solution mentioned was to add an environment variable "COMSPEC" with the value - "C:\Windows\system32\cmd.exe". I did this but the issue persists. Also, there is no semicolon at the end in the value of COMSPEC variable.

I tried installing 2 versions of Postgresql but I am getting the same error for both. The versions are as follows :

1. postgresql-9.3.14-2-windows-x64.exe

2. postgresql-9.6.0-1-windows-x64.exe

Since the COMSPEC variable is present, it got me thinking if this is a general exception thrown while installing postgresql.
Also, are there any pre-conditions to be checked before installing the server. Could a particular software installation be hindering the postgresql installation (At some forums, it was suggested that the anti-virus uninstallation solved the issue. Could this be the reason?)

Please let me know how to resolve this.

Thanks & Regards
Kanakaraju

This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and any disclosure, copying, or distribution of this message, or the taking of any action based on it, by you is strictly prohibited.

v.E.1

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Grittner 2016-10-13 12:40:38 Re: SERIALIZABLE and INSERTs with multiple VALUES
Previous Message AnandKumar, Karthik 2016-10-13 10:44:06 Re: MultiXact member wraparound protections are disabled