[postgis-tickets] [PostGIS] #3789: Windows installer aborts with unhelpful message if the wrong PostgreSQL installation directory is selected
PostGIS
trac at osgeo.org
Mon Jul 17 04:09:01 PDT 2017
#3789: Windows installer aborts with unhelpful message if the wrong PostgreSQL
installation directory is selected
-----------------------------------+-------------------
Reporter: realityexists | Owner: strk
Type: defect | Status: new
Priority: low | Milestone:
Component: build/upgrade/install | Version: 2.3.x
Keywords: |
-----------------------------------+-------------------
I ran the Windows installer downloaded from
http://download.osgeo.org/postgis/windows/pg96/postgis-bundle-
pg96x64-setup-2.3.2-1.exe
When prompted for the PostgreSQL directory I accepted the default
(C:\Program Files\PostgreSQL\9.6) and got an error:
'''PostGIS has to be installed to the PostgreSQL folder.'''
Problem 1: it's unclear what exactly "the PostgreSQL folder" is. I thought
what I was selecting was "the PostgreSQL folder", because that's what I
specified when I installed PostgreSQL. It turns out the installer wanted
"C:\Program Files\PostgreSQL\9.6\pg96". (PostgreSQL was installed from the
BigSQL installer, not the EnterpriseDB one.) The message should be more
precise about what the installer is looking for to help the user find the
right directory (and ideally find it automatically in the registry, but
that's another story).
Problem 2: the installer then aborts and I have to re-run it to try again.
It should let the user choose a different folder.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3789>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list