getting this error on setup wizard
There isn’t enough information to resolve the error shown in the picture above.
You have to at least provide the steps you took that arrived to this error.
- What are the files used in the installation - 32 bit or 64 bit?
- What version of PostgreSQL?
- Do you have all the necessary perquisite module/library installed?
- Describe each step in detail. Then it will easier to figure out what exactly went wrong.
And, also you should list your basic hardware information - i.e. operating system - MacOS Mojave, Windows10, and Ubuntu.
The first step is to read the log file for additional information.
Did you enable administrator permission?
As Alvin pointed out, this question requires a bit more information, but try this nevertheless and see if it helps: https://webkul.com/blog/postgresql-windows-installation-problem-running-post-install-step-installation-may-not-complete-correctly/