AFP548

New way of doing InstallerChoices.xml files

While at Macworld this year a little birdie told me that there was another way of doing InstallerChoices files that did not require simulating clicks like the documented way does. It was also wispered that Apple's SIU (System Imaging Utility) uses this method, and that an example of this file might exist somewhere in a SIU Installer output dmg. I finally sat down and did the work of figuring this out, and here is what I turned up (copy-paste of an email I just sent the InstaDMG dev team): Since the new version of the Server Admin Tools just came out, I decided to see if anything had changed, so created a SUI Installer image. Since I had that and the Installer DVD already open I did a quick diff on the two, and turned up the file that replaces the installerchoices file. It is stored at: /var/db/MacOSXInstaller.choiceChanges A quick check using -showChoicesAfterApplyingChangesXML makes me believe that this format is indeed a straight stand-in for the installerchoices.xml format. This is probably going to be a lot easier to man-handle than the simulated clicks method. And the format looks like this when I just turned off installing printer drivers: [code] attributeSetting choiceAttribute visible choiceIdentifier PrinterDriversGroup [/code]
Exit mobile version