Home Forums Software InstaDMG InstallerChoices.xml file – Can anyone offer some advice?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #375515
    mgb123
    Participant

    I’ve attempted to create an XML file for the installer choices setup.

    Here’s the contents of my file:


    PrinterDriversGroup
    AdditionalFonts
    LanguageTranslations
    X11

    Pretty limited- but I’ve noticed that all fonts printer drivers, language translations and X11 are all still getting installed.

    I know I’m just missing something stupid. Anyone offer a hand here?

    #375516
    dead2sin
    Participant

    The contents of that file should be in the following format. I’ll use your options in this example:


    AdditionalFonts
    PrinterDriversGroup
    LanguageTranslations
    X11

    Now, I couldn’t tab in this box for some reason, so don’t cut and paste it, but its a tab after the array line. Also, there is an example file in InstaDMG_1.4b4/Documentation/InstallerChoices/InstallerChoices.xml

    It should give you a good idea of the format the xml file needs to be in.

    Nate

    #375522
    mgb123
    Participant

    Nate,

    Thanks very much – for whatever reason, my array, and string tags were cut out when I cut and pasted in my text.

    I had the exact same keys listed. I saved the installerchoices.xml file, and then copied it into the base install directory.

    I’m not sure what I might have done wrong – I’ll post up the logs to see if there’s any clue in there.

    #375523
    dead2sin
    Participant

    Ahh, Alrighty. On my file, I mention most of the things to not install specifically, that way I’m sure I got them. I never tried it by using the whole group, but others here have and it has worked.

    Also, is your file InstallerChoices.xml? I don’t know if its picky about the name, but normally the commandline stuff is case sensitive.

    Let me know how it goes. I have a build going right now involving CS4…I have my fingers crossed =)

    Nate

    #375524
    mgb123
    Participant

    [quote]Also, is your file InstallerChoices.xml? I don’t know if its picky about the name, but normally the commandline stuff is case sensitive.
    [/quote]

    You got me – how could I miss that? It was still named LeopardChoices.xml on my desktop. I feel like a dunce. I renamed, and put it in my base install directory.

    I have to say, I’ve gotten farther, faster with this version of InstaDMG then I ever did with the older version.

    #375525
    knowmad
    Participant

    also,
    you can run the command line to check the output result of your file, check out explination at:

    [url]https://www.afp548.com/forum/viewtopic.php?showtopic=18907[/url]
    basic is:
    [code]sudo installer -target /Volumes/InstaDMG_Target -showChoicesAfterApplyingChangesXML Desktop/Leopard_Choices.xml -pkg /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/OSInstall.mpkg > /Users/Shared/OSInstall.mpkg_afterChoiceXML.xml[/code]

    of course change your specific file names and locations to match what your doing and don’t forget to mark the target correctly.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Comments are closed