Opened 15 years ago

Closed 3 years ago

#516 closed enhancement (wontfix)

Windows installer: Allow multiple DB authentication attempts (rather than failing to install)

Reported by: mwtoews Owned by: robe
Priority: low Milestone: PostGIS Fund Me
Component: build Version: 1.5.X
Keywords: win32-installer Cc:

Description

When installing PostGIS on Microsoft Windows, the installer shows a "Database Connection Information" dialog to supply User Name, Password, and Port. The installer will begin to install PostGIS, however, if there is a mistake in the connection information, the installer fails part-way in, requiring it to be run again from the beginning.

It would be nice to allow multiple attempts to correct the connection information, if say, there was a typo with the password. This way the installer only needs to be run once (for example, using Application Stack Builder, which downloads the installer to %TEMP%).

Not only should the connection info establish a connection to a database, but select count(*)=1 from pg_user where usename=$1 and usecreatedb;. If there is an error, the user should be able to go back and correct, try again, repeat or cancel. Correct connection info should be established before starting the install process.

Change History (7)

comment:1 by robe, 15 years ago

Owner: changed from pramsey to robe

comment:2 by robe, 14 years ago

Milestone: PostGIS 1.5.3PostGIS 2.0.0

comment:3 by pramsey, 13 years ago

Component: postgisbuild/upgrade/install

comment:4 by strk, 13 years ago

Milestone: PostGIS 2.0.0PostGIS 2.1.0

Sounds like a 2.1 ticket

comment:5 by robe, 12 years ago

Milestone: PostGIS 2.1.0PostGIS Future

comment:6 by robe, 7 years ago

Milestone: PostGIS FuturePostGIS Fund Me

Milestone renamed

comment:7 by robe, 3 years ago

Resolution: wontfix
Status: newclosed

Now the windows builder allows for not creating a database. When that option is picked, it doesn't even show the dialog prompt.

I think this will just add unnecessary overhead for not that common of an issue.

Note: See TracTickets for help on using tickets.