Some of the previous versions such as office 2010 are not compatible with the newer versions such as office 365. In some cases, it is possible that the previous version of office products are still present in the registry.
Remove Previously Installed Office Products & Try to Install Newest Version You can re-enable the firewall after Office has been installed and running on your computer.
Windows office installation, especially the newer versions such as Office 365, required an active internet connection to download important updates and file structure during the installation and update process.
In the command prompt window, type SFC /scannow and press enter.To do this, open Start, type cmd, and press enter. Not only will the SFC scan help you to find system files that are not working correctly, but it will also check for missing or damaged system files and replace them automatically from the locally stored cached system files. You should immediately launch a system file checker scan to find out if any system files are corrupted on your computer. Sometimes, system files corruption is the most common cause of Microsoft Office error code 30015-4 (1006). If you are experiencing this problem, we’re prepared to help you fix it. Some of the most common reasons are system files corruption, missing registry keys, incomplete uninstallations of previous versions of Office, and other applications having issues while Office is being installed. There are many reasons why users are unable to install the popular office suite on their computers. Error code 30015-4 (1006) is a common error discovered when one attempts to install Microsoft Office on their computer.