Recently we ran into an error code that would not allow us to install a brand new copy of Office 2016 Home and Business. We received the below message:
Error Code 0-1018 0
The solution was simple. Microsoft provides an Easy Fix Tool to completely cleanup your Office installation. This will remove all remnants and allow you to attempt the install again without receiving this error. Choose Option 2 and click download:
https://support.office.com/en-us/article/Uninstall-Office-2016-Office-2013-or-Office-365-from-a-PC-9dd49b83-264a-477a-8fcc-2fdf5dbf61d8