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 [-help] [-dominfo] [-volinfo] [-pkginfo] [-allowUntrusted] [-dumplog]
[-verbose | -verboseR] [-vers] [-config] [-plist]
[-file <pathToFile>] [-lang <ISOLanguageCode>] [-listiso]
[-showChoicesXML] [-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?
