AFP548

InstallerChoices.xml

Hello! I am trying to create an InstallerChoices.xml file for iLife 08 but I am having a bit of trouble and was hoping someone can provide some assistance. I'm running all this on a Leopard client 10.5.4. Firstly I mount the install DVD then run: [code]installer -showChoicesXML -pkg /Volumes/iLife\ \'08\ Install\ DVD/iLife\ \'08.mpkg | less[/code] to view the choice descriptors eg: [code] choiceDescription This package installs iDVD ’08 choiceIdentifier iDVD choiceIsEnabled choiceIsSelected 0 choiceIsVisible choiceSizeInKilobytes 126455 choiceTitle iDVD pathsOfActivePackagesInChoice[/code] Then I create an InstallerChoices.xml file using vi from the command line and enter the following information, then save and exit: [code] iDVD [/code] From what I understand I have to have a string entry for each 'click' of the mouse that I would perform if I was actually using the Installer normally. In my case I would like to change the iDVD portion of the installer from a - symbol to a tick (ie installing iDVD with its extra theme content). This takes one 'click' in the installer so I put one line of the string in the InstallerChoices.xml file. Then to check to see if it works I run: [code]sudo installer -showChoicesAfterApplyingChangesXML InstallerChoices.xml -pkg /Volumes/iLife\ \'08\ Install\ DVD/iLife\ \'08.mpkg [/code] From the directory where the InstallerChoices.xml file is located and I receive the following error: [code]installer: choices file 'InstallerChoices.xml' either could not be found or was malformed. [/code] If i remove the iDVD line and just have the array tags I do not get an error, but I cant see whats wrong with my syntax of the string tag. Have I put the wrong Choice Identifier in? Or have I totally misunderstood how the InstallerChoices.xml file is supposed to work? Thanks in advance.
Exit mobile version