I also was getting this message from postgresql and I tried so many things. As a result of, I found solution in this case:
- Firstly, remove postgresql via control panel
- Delete all files from "C:\Program Files\PostgreSQL", if you didn't change the direction
- Run setup exe file as Administrator
- Next, next, next... until following step and select "English-United States"
