Notarizing your OS or OS X–Based Installers and Including Authentication Support

InstallAnywhere 2022

The process of notarizing your authentication wrappers, your installers, and your uninstallers varies, depending on whether you are performing the notarizing step at build time on the InstallAnywhere build machine or on a separate designated notarization machine.

Important:If you want to notarize the application, you must code sign your installer.

To configure your InstallAnywhere project to notarize your build output and include authentication support:

1. In the Advanced Designer, on the Project page, click Platforms. The Platforms view opens.
2. In the OS X area, in the Code Signing setting, select the Code Sign the Generated Installer check box.
3. Specify the location and password of the certificate.
a. For the PKCS #12 File setting, specify the fully qualified path for your PKCS #12 file (.p12).
b. In the Keystore Password setting, specify the certificate’s password.
4. In the OS X area, in the App Notarization setting, select the Notarize the Generated Installer check box.
5. Specify the username and password for your notarization.
a. For the Developer Username setting, specify the apple’s username for your notarization.
b. In the Developer App Specific Password setting, specify the app specific password of your application.
c. In the Notarization Response Timeout(min) setting, specify the notarization response timeout for your application.
d. In the Notarization Process Delay Interval(sec) setting, specify the notarization process delay wait time for your application.

For more information on App Notarization setting, see App Notarization.

Command for Notarization

A sample command is given below:

send notarization:

xcrun altool --notarize-app --primary-bundle-id <"test.zip"> --username <"username"> --password <"password123"> --file <"filename.zip">

check status

xcrun altool --notarization-info <RequestUUID> -u <"username"> -p <password>

staple ticket to app

$ xcrun stapler staple "Notepad.app"

check notarization status

spctl -v -a <app name>