There are several things you can try to do here. Reboot your computer first, and try again. Also, go to start -> run... and type \Program Files. Find the folder that says postgresql, right click -> delete. Then try to reinstall. If this doesn't work, then reboot in safe mode and try to install from there. You can learn how to reboot in safe mode by reading this tutorial below:
Safe mode tutorial~ Thomas
[Pokertracker support]