- This topic has 5 replies, 3 voices, and was last updated 16 years, 1 month ago by
knowmad.
-
AuthorPosts
-
February 23, 2009 at 5:50 pm #375515
mgb123
ParticipantI’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?
February 23, 2009 at 5:59 pm #375516dead2sin
ParticipantThe 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
February 23, 2009 at 8:45 pm #375522mgb123
ParticipantNate,
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.
February 23, 2009 at 8:55 pm #375523dead2sin
ParticipantAhh, 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
February 23, 2009 at 9:02 pm #375524mgb123
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.
February 23, 2009 at 9:07 pm #375525knowmad
Participantalso,
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.
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed