Hi,
As you are unable to install any program probably the files responsible for the program or application installation might be corrupt. Yes, Windows 8 disc can be used for the repair of Windows 8.1.
Windows Defender Offline Beta can help remove hard to find malicious and potentially unwanted programs using definitions that recognize threats. Definitions are files that provide an encyclopedia of potential software threats. As new threats appear daily, it's important to always have the most up-to-date definitions installed in Windows Defender Offline Beta. Armed with definition files, Windows Defender Offline Beta can detect malicious and potentially unwanted software, and then notify you of the risks.
What is Windows Defender Offline Beta?: http://windows.microsoft.com/en-ca/windows/what-is-windows-defender-offline-beta
Note: We recommend that you download Windows Defender Offline Beta and create the CD, DVD, or USB flash drive on a PC that isn't infected with malware—the malware can interfere with the media creation.
Note: There could be a loss of data while performing a scan using Windows Defender Offline to eliminate virus if any.
Thank you.