I'm getting this error trying to install software on MacOS Sierra (10.12.5):
Your security preferences allow installation of only apps from the App Store and identified developers.
I'd like to change the settings so that these types of installations are allowed. Similar to what is shown here:
However, my system doesn't seem to have the Anywhere option (screen shot below). This option is also not available if the Advanced button is selected.