I was trying to install PostgreSQL on my windows system but an error is occurring again and again.
Here is the screenshot while the installation process:
Open it with Administrators rights by right clicking the install file and left click "RUN AS ADMINISTRATOR".
I have experienced the same issue with the installers for the versions 11.5 and 10.10 on Windows 10 x64. Apparently, this is an installer issue.
However, I have found a download link for the version 11.2.1 on another website which works for me: https://www.netzwelt.de/software-download/26666-postgresql.html
Administrator
and make sure UAC is enabled in Windows