I was installing the VirtualBox on mac OS Sierra High. Every time i tried it return, installation failed". See the attachement.
This is what i do to fixe it. When that was happening, i tough that the file was corrupted, or has something to do with my mac OS update "High Sierra". It was a permission issue. I went to Preferences then Security & privacy, at the bottom of the screen, i saw the message saying "System software developer Oracle America was blocked". I just clicked on Allow and tried, then my virtualBox was successfully installed. That was the permission blocking it from installing.
I hope this help.