[postgis-devel] Windows Postgis installer on Windows 2003 64-bit defaults to wrong folder

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Mon Oct 22 04:06:02 PDT 2007


On Wed, 2007-10-17 at 07:51 -0400, Obe, Regina wrote:
> This is not a big deal to me, but just thought I would mention it as a
> nice to have.
>  
> Since PostgreSQL does not exist in 64-bit for windows as of yet (am I
> correct in saying that?), the PostgreSQL server is installed in the 
>  
> Program Files (x86) folder of a 64-bit system.
>  
> When you install Postgis using the installer after that, the default
> folder is still C:\Program Files\....
>  
> I'm just wondering if there is any way to truly default it to the
> folder that PostgreSQL is installed in by reading the PGConfig
> environment variable or something. Or maybe it does and its because I
> didn't do a restart of the server before going and installing Postgis.
>  
> Thanks,
> Regina

Possibly. I've been working with Dave Page on the PostGIS installer for
PostgreSQL 8.3, and I believe we can find the location of the current
PostgreSQL installer from the registry. So perhaps we could check there
first before using the default location...


Kind regards,

Mark.

-- 
ILande - Open Source Consultancy
http://www.ilande.co.uk





More information about the postgis-devel mailing list