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+
Go to file %windir%\inf\wsh.inf, right click, and select 'Install'.
%windir%\inf\wsh.inf
Then re-run the PostgreSQL installer.
This works on Windows XP with PostgreSQL 8.4.17-1.