You should have a Developer ID Installer identity from Apple in your Keychain. This is used to sign the package. If you don't have this identity the script will skip ...