The following bug has been logged on the website:
Bug reference: 18946
Logged by: parnian khaleghi
Email address: parniankhaleghi94@gmail.com
PostgreSQL version: 17.5
Operating system: Windows 11
Description:
The installation setup file opens the directory selection window to ask
where to install PostgreSQL, and when I make a new folder to select as the
installation directory, it gives me this error message "the chosen
installation directory exists and is non-empty. please choose a different
directory.". The only way this issue was resolved was by closing the
installer "postgresql-17.5-1-windows-x64.exe" and reopening it, then
choosing the same folder I just made and then it worked.
Thanks for your time and efforts,
Parnian Khaleghi