I downloaded installer postgresql-9.0.1-1-windows.exe from the official site, ran it, and then got an error:
An error occurred executing the Microsoft VC+
I had these same problems and tried
Still unsuccessful
Then I solved these problem by installing postgres manually:
pg_ctl register -D D:\pgdata -N postgresql -U postgres -P