allow-external-scripts deprecated in creation of pkg installer

I noticed the following message when creating a pkg installer:

[WARNING]: Specifying [allow-external-scripts='true'] is deprecated.
           Having this in your distribution will break the installability
           of this product in an upcoming release of macOS.
           Apple reserves the right to reject notarization of any product with this option.

I have a couple of questions about that:

  1. Which upcoming release? Ventura? I am trying to figure out the timeline here.
  2. Whats the replacement for this feature? We are depending on it in our installers.

I tried googling the answers but came up empty so I would appreciate some input on this from Apple.

Answered by RudoBaker in 731669022

Hello,

I would also be very much interested in what this means and also to what this message refers to.

In our installer, we are using:

  • JS code in Ditribution.xml to perform some OS compatibility checks
  • Postinstall scripts to load our services
  • Installer plugins with custom UI flows for the installer

Any insight would be appreciated.

Accepted Answer

Hello,

I would also be very much interested in what this means and also to what this message refers to.

In our installer, we are using:

  • JS code in Ditribution.xml to perform some OS compatibility checks
  • Postinstall scripts to load our services
  • Installer plugins with custom UI flows for the installer

Any insight would be appreciated.

@Apple I accepted the reply by accident. Can you remove that? And it would also be nice if somebody from Apple could comment on the issue...

allow-external-scripts deprecated in creation of pkg installer
 
 
Q