Fix broken program installs on Vista with Windows Installer Cleanup
There are some cases where Windows just doesn’t like the program you are trying to install or get rid of and occasionally the installer/uninstaller hangs. At this point you can try restarting or you may have to power off manually. The problem arises when you get back to Windows, it will no longer let you install/repair or uninstall the program you were working with. This is fixable.
Full article here: Source