Windows could not configure one or more system components To install Windows

When I try to upgrade Windows Vista to a Windows Vista of more advanced version, the following error message is shown: "Windows could not configure one or more system components To install Windows, restart the computer and then restart the installation". How can I solve this issue?
