'Metasploit installation failing

I'm trying to get into ethical hacking and I installed Metasploit. But, its showing "Windows cannot find the installation file. Verify it exists and contact the vendor of the file." I installed and uninstalled it before this installation. I think that is the problem. Can I get a solution to this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source