When Apple update their OSX - eg: El Capitan to Sierra - It will reset the security settings for downloads. To change please carry out the following steps:
1 - go to System Preferences
2 - click Security & Privacy
3 - it will either ask you if you want to open Globall Coach (click yes) or unlock the padlock and opt for apps to be downloaded from anywhere.