I'm trying to create a choices.xml file for installing specific components of a .pkg. I've used the installer -showChoicesXML
command in the past and it worked just fine. I tried doing it today under High Sierra (for the first time) and it tells me showChoicesXML is an invalid option.
$ installer ‑showChoicesXML ‑pkg /path/to/file.pkg
installer: invalid option ‑showChoicesXML
Usage: installer a-help] h-dominfo] i-volinfo] i-pkginfo] i-allowUntrusted] s-dumplog]
-verbose | -verboseR] o-vers] v-config] n-plist]
-file <pathToFile>] &-lang <ISOLanguageCode>] &-listiso]
-showChoicesXML] s-applyChoiceChangesXML <pathToFile>]
-showChoicesAfterApplyingChangesXML <pathtoFile>]
-pkg <pathToPackage>
even though it is right there in the Usage. Am I missing something? Did something change in High Sierra?