If you're on Mac OS Catalina or higher (10.15+) sometimes Apple notarization system doesn't work so you can't open easily our installer .pkg. Please allow opening unnotarized applications in your Security Preferences, see this article :
Safely open apps on your Mac on Apple.com