Re: EDB installer should check for valid %COMSPEC% - Mailing list pgsql-general

From Craig Ringer
Subject Re: EDB installer should check for valid %COMSPEC%
Date
Msg-id 51397E12.8040807@2ndquadrant.com
Whole thread Raw
In response to Re: EDB installer should check for valid %COMSPEC%  (Dave Page <dpage@pgadmin.org>)
Responses Re: EDB installer should check for valid %COMSPEC%
List pgsql-general
On 11/19/2012 05:14 PM, Dave Page wrote:
check %COMSPEC% to see if it really
> points to cmd.exe .
Interesting - thanks for the info Craig. Sandeep; can you please look
into adding such a check to the installer. We already test the
VBscript interpreter, so this should go in the same place.
I've just seen a Stack Overflow report related to this that might be of interest. The user reports that the installer fails with:

" The environment variable COMPSPEC does not seem to point to the cmd.exe or there is a trailing semi colon present."

This appears to be a new message and they're using 9.2, so I'm guessing this was the test added. It doesn't appear to actually *mention the value of the COMSPEC environment variable* though. I've asked them for the installer log, but it'd be good to identify this in the message if possible.

The question of interest: http://stackoverflow.com/questions/15287207/problems-installing-postgresql-9-2
-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: selecting for type cast failures
Next
From: Sandeep Thakkar
Date:
Subject: Re: EDB installer should check for valid %COMSPEC%