Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Disabling some installs #376405
    nkoval
    Participant

    I had some issues finding out what exactly goes into the contents of this file and how to create it. As a result, I figured I’d share them with the community.

    The easiest way I found to create it was to use the Property List Editor. It is part of the Apple Developer Tools. Once the Dev. Tools are installed, you can find it in /Developer/Applications/Utilities. There are other ways to make an XML file, this one is just my personal preference (mainly because my typing is atrocious so coding by hand for me is usually a big no-no.)

    Open the Property List Editor and make a new file. Change the type of the root from a dictionary to an array and then add the names of the “choiceIdentifiers” as string items in the array. Keep hitting add child as needed to add more items to the array. Save the file as an XML property list and replace the .plist extension with a .xml extension. If I look at my file, which I called OSInstallChoices.xml, this is what I see:

    [code]

    PrinterDriversGroup
    HP_Printer_Drivers
    AdditionalFonts
    LanguageTranslations
    [/code]

    Keep in mind this choices list simply a list of check boxes to click in the “Customize” screen of the installer application. This .xml file tells the installer to click the check box for the PrinterDriversGroup, then the HP_Printer_Drivers, next the AdditionalFonts and finally LanguageTranslations. The result of this, since all the check boxes are enabled in the default install, is to disable the PrinterDriversGroup, which turns off the drivers for all the printers. Then it clicks the HP_Printer_Drivers, which re-enables only the HP Printer Drivers. Clicking AdditionalFonts and LanguageTranslations disables both of them.

Viewing 1 post (of 1 total)