I have tried to install VirtualBox 5.1.28 to macOS high sierra but it fails every time with the following screen:
After some looking around I found this thread and I did indeed see that it was blocking VirtualBox from installing.
After clicking allow and then trying to run the VirtualBox installer again it just fails again with the same generic error message and the same Security warning reappears in the "Security and Privacy" settings.
I tried to also run the pkg install from the terminal to see if I could get more information about why its failing but it doesnt help.
➜ Documents sudo installer -verbose -pkg VirtualBox.pkg -target /
installer: Package name is Oracle VM VirtualBox
installer: Installing at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing Oracle VM VirtualBox….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer:
#
installer: Writing files….....
#
installer: Writing files….....
#
installer: Optimizing system for installed software….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
#
installer: Running package scripts….....
installer: Validating packages….....
#
installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)
The VirtualBox application does appear to install and it can be launched however nothing functions.
Does anyone have any ideas how to solve this?