Windows 10에서만 발생하는 문제인지는 잘 모르겠으나, Windows10을 사용하고 있어 이렇게 표시.
방법을 찾아보니 cmd 창에 명령어로 입력하는 방법이 있다. postgresql 설치 경로에서 --install_runtimes 0 옵션을 주어 설치하는 방법이지만 여전히 같은 에러가 떴다.
postgresql-12.4-1-windows-x64.exe --install_runtimes 0
https://www.netzwelt.de/download/7265-postgresql.html
위 사이트에서 제공하는 설치 파일을 사용하니 무탈하게 설치 완료.