Post

Replies

Boosts

Views

Activity

Reply to What is recommended way to pass config into the macOS installer?
Installer has the ability to read and apply the the choices... From the manpage:     -showChoiceChangesXML              Prints to stdout the install choices for the package (specified with -pkg) in an XML format. This allows choice attributes to be modified and applied at install-time using -applyChoiceChangesXML.  See CHOICE CHANGES FILE for details of this XML format.   -applyChoiceChangesXML pathToXMLFile              Applies the install choice changes specified in pathToXMLFile to the default choices in the package before installation. This allows the command-line installer to customize choice what gets installed. See CHOICE CHANGES FILE for details of this XML format. Any problems encountered while applying the choice changes will be reported to the LOG_INSTALL facility (i.e. to /var/log/install.log), and also to stdout if -dumplog is used.      -showChoicesAfterApplyingChangesXML pathToXMLFile              Applies the install choice changes specified in pathToXMLFile to the default choices in the package, and then dumps the resulting choice state to stdout.  The input and output XML format is as described in CHOICE CHANGES FILE.  Since changing one choice in a package can implicitly change other choices, this option allows you to confirm that a particular choiceChanges file will have the intended effect. You must specify a -target when using this option, since the evaluated choices can also change with the state of the target disk.      -showChoicesXML              Prints to stdout the install choices for the package (specified with -pkg) in a hierarchical XML format. This is not the same format as used with -applyChoiceChangesXML.  This option is provided for System Image Utility only.
Feb ’21