Trying to install VirtualBox 5.2 on a Mac running OSX 10.13. The installation fails with an installer message reading "The installation failed."
I've tried the 2 solutions I've been able to find and neither have worked.
I tried clicking "allow" in the "Security & Privacy" preference panel where the download gets blocked. Each time, I ejected the image before trying again with no luck.
I also tried entering sudo spctl --master-disable
in the terminal before trying again, but still no luck.
After the failure, the application icon does still appear in the downloads folder, but I'm supposing this isn't a good installation and I'll run into problems using it? Thoughts?
spctl —status
still shows assessments enabled then you haven’t prepared the system to be modified by Virtual box. Can you confirm you disabled SIP? You can’t disable SIP from the running system, so that would be a clear next step for you. The other point of confusion is if you are locally logged in to the Mac - Emil’s answer covers that roadblock.