Installer packages aren’t really my thing — there’s another engineer here in DTS who handles those questions — but my understanding is that you do this by passing a ‘distribution’ file to
productbuild. That file is an XML file as defined by
Distribution Definition XML Schema Reference.
To see how this works in practise, you can unpack an installer using the techniques described in
Unpacking Apple Archives. I did this for SF Symbols and this is what I see:
Code Block % cat Distribution |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
<installer-gui-script minSpecVersion="1"> |
<options customize="never" hostArchitectures="i386,x86_64,arm64" rootVolumeOnly="true"/> |
<title>SU_TITLE</title> |
<script/> |
<installation-check script="InstallationCheck()"/> |
<domains enable_localSystem="true" enable_anywhere="true" enable_currentUserHome="true"/> |
<license file="License.rtf"/> |
<welcome file="welcome.html"/> |
… |
</installer-gui-script> |
If you search the ’net for keywords like
installer-gui-script you’ll find folks giving examples of this. And if you get really stuck, open a
DTS tech support incident and talk to our installer expert.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"