Home Forums Software InstaDMG 10.6 Snow Leopard InstallerChoices.xml

Viewing 15 posts - 16 through 30 (of 35 total)
  • Author
    Posts
  • #378501
    dead2sin
    Participant

    Also, just curious…are you running the installer command using a 10.6 machine, or is it running another version of OS X?

    #378502
    sketch
    Participant

    [QUOTE][u]Quote by: dead2sin[/u][p]Also, just curious…are you running the installer command using a 10.6 machine, or is it running another version of OS X?[/p][/QUOTE]
    10.6.3 machine

    #378503
    Allister Banks
    Participant

    I don’t have one of those iMacs or the most recent mini(without server), but I can only say the most recent retail-boxed disc(10.6.3) SHOULD work. I’ve seen this error when attempting to get installer choices from the Server OS disc, which hasn’t worked for me yet either.

    Anyone have either the new 10.6.3 disc or one of these machine-specific discs?
    http://support.apple.com/kb/ht1159

    Allister

    #378505
    dead2sin
    Participant

    I’ve need seen that not work. Did you try cutting and pasting this into terminal and pressing enter?

    [code]sudo installer -showChoicesXML -pkg /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/OSInstall.mpkg[/code]

    Every machine I’ve tried it on (10.6 client) it has worked as well as with retail and OEM discs. I’m not sure what else to tell you. If the machine you are running it on is 10.6.x and you cut and pasted the command above into your terminal and it still gave that error, then the only possibilities I can think of are that either #1 the Install Disc image is bad or #2 something is wrong with your 10.6 box.

    #378514
    maximumjack
    Participant

    Just FYI,
    I have just run the command on a disk image from a new MacBook Pro 13 inch (10.6.3 Build 10D2125) and I get the same “installer: Error – ” result. If I run the same command on a disk image from a 10.6 Retail disk then I get the expected response.

    #378525
    Allister Banks
    Participant

    Thanks for your patience guys, we should try to make this easier at some point.
    I can’t say why it worked on the first try for me without the less-than-helpful error message, all I can say is make sure your path is right; I drag-dropped the disc icon from the top of the windows into terminal to figure out which one I wanted(in the example below, two other installers were mounted so this got the suffix ‘2’. YMMV:
    [code]sudo installer -showChoicesXML -pkg /Volumes/Mac\ OS\ X\ Install\ DVD\ 2/System/Installation/Packages/OSInstall.mpkg[/code]
    and it spit out the options, this disc is build 10C2234.

    Here’s the end result, parsed to only include the ones you should interact with:

    choiceIdentifier
    Host_PrinterDrivers

    choiceIdentifier
    Popular_PrinterDrivers

    choiceIdentifier
    All_PrinterDrivers

    choiceIdentifier
    PrinterDriversGroup

    choiceIdentifier
    AdditionalFonts

    choiceIdentifier
    Japanese

    choiceIdentifier
    German

    choiceIdentifier
    French

    choiceIdentifier
    Spanish

    choiceIdentifier
    Italian

    choiceIdentifier
    Dutch

    choiceIdentifier
    Danish

    choiceIdentifier
    Finnish

    choiceIdentifier
    Korean

    choiceIdentifier
    Norwegian

    choiceIdentifier
    Russian

    choiceIdentifier
    Swedish

    choiceIdentifier
    BrazilianPortuguese

    choiceIdentifier
    SimplifiedChinese

    choiceIdentifier
    TraditionalChinese

    choiceIdentifier
    Portuguese

    choiceIdentifier
    Polish

    choiceIdentifier
    LanguageTranslations

    choiceIdentifier
    X11

    choiceIdentifier
    Rosetta

    choiceIdentifier
    QuickTimePlayer7

    FYI, I checked it with the -target flag pointing at an empty volume as well, same difference.

    #378630
    moderman
    Participant

    This might be a bit off base for this post but…

    1) When issuing the sudo ./instadmg/AddOns/InstaUp2Date/importDisk.py –automatic –legacy from the quick start will this use/include the InstallerChoices.xml file I created.. then run instaup2date to patch it?

    2) in the documentation it states “Put the InstallerChoices.xml file in the folder with the OS (./instadmg/ InstallerFiles/BaseOS)” so do I need to move the InstallerChoices.xml file from it’s location in /Users/~/instadmg/Documentation/InstallerChoices.xml and if so do I need to also place the OSInstall.mpkg_choiceIdentifiers.txt as well?

    A little confused on that..

    Basically I want a fully patched image with rosetta, q7, no print driver and no languages or fonts..

    Thanks for anyones input in advance

    > instarookie 😳

    #378631
    Allister Banks
    Participant

    We were all instarookie’s once… smileyface.

    1. importdisk just… imports the disk. The first time you run instadmg.bash(or hand off the catalog file of your choice to instadmg via instaUp2Date –process) it caches the base install after utilizing the installerChoices.xml file it finds in the InstallerFiles/BaseOS folder(the dmg you made with importdisk will be there as well if all went right.)

    2. You need to make the choices you want, as if you’re checking boxes in the gui, especially if this is snow leopard since /Documentation/InstallerChoices.xml hasn’t been updated since 10.5 AFAIK. We’ll get that fixed soon, good idea.
    You only need the xml, not the .txt file. That just helps you know the syntax of your choices, since you’d want to do it for other mpkgs like iLife09′, Office2008 and others. Learn to fish, as they say.

    If you want the answer, though, it’s
    [code]

    Popular_PrinterDrivers
    LanguageTranslations
    AdditionalFonts
    Rosetta

    [/code]
    It’s the same choices I use.
    FYI, the latest svn version has some outstanding bugs you may come across, so the downloadable zip here is the safest way to go as of now(May 21st). That zip is located here: code.google.com/p/instadmg/downloads/list

    Let me know where I’m not being clear, and good luck!

    Allister

    #378633
    moderman
    Participant

    Thanks for the timely reply!!..

    All good and working.. rebuilding atm with installerchoices.xml.

    Cheers!

    #378653
    khehr
    Participant

    Trying to get a Choicesinstaller.xml file to do what I want.
    I need:
    All Print drivers
    NO additional fonts
    Spanish Translation and no others
    Rosetta
    X11
    QT7

    I have:

    [code]

    All_PrinterDrivers
    AdditionalFonts
    AdditionalTranslations
    choiceIdentifier
    Spainsh
    Rosetta
    X11
    QuickTimePlayer7

    [/code]

    Am I on the right track, or barking up the wrong tree.

    —Update—-

    This particular file doesn’t appear to work, it generates a <1GB install image. I am not doing anything too intrecate yet with InstaDMG, I have only the DMG from the install disk and the 10.6.3 updater in the workflow and then this InstallerChoices.xml file.

    Not sure what I am doing wrong.

    #378662
    vogtstev
    Participant

    Does anyone know how to get just the specific vendor print drivers. I’m assuming this is not an option anymore. I would basically like to remove Epson and Canon drivers. Any ideas?

    Thanks!

    #378671
    khehr
    Participant

    [QUOTE][u]Quote by: vogtstev[/u][p]Does anyone know how to get just the specific vendor print drivers. I’m assuming this is not an option anymore. I would basically like to remove Epson and Canon drivers. Any ideas?

    Thanks![/p][/QUOTE]

    Not sure how to go about it anymore, but specific maker drivers are no longer a choice identifier.

    #378721
    vogtstev
    Participant

    Let me pose this question? Anyone know how I can get rid of all printer support?

    I believe I tried


    PrinterDriversGroup

    However that just added all of them. Would it work to put PrinterDriversGroup twice since I think this would be two clicks?
    I also noticed it falls under “EssentialSystemSoftware” Would it hurt to put this in. It doesn’t appear that other things install besides printer within that key.

    Let me know what you guys think!

    Thanks!
    STeve

    #378723
    Allister Banks
    Participant

    Hey Steve,
    Each time the choice identifier is read out of the xml file it’s essentially clicking a checkbox. In my post above, “Popular_PrinterDrivers”, which translates to “Nearby and Popular Printers” which is selected by default, is deselected by this key being present in the choices file – therefore no printer drivers are chosen for install(I think it includes some gutenprint/cups by default though.) If anybody thinks I’m incorrect please let me know, but I think that’s what you’re asking and would make sense given what you observed in your previous attempt. Page five of the InstaDMG Guide 1-6.pdf that you can download from instadmg.googlecode.com has a higher-res version that I just checked to make sure.

    Allister

    #378727
    vogtstev
    Participant

    Thanks Allister. That worked perfect! I don’t know why I wasn’t thinking clearly on that. So to answer my previous question for others, I asked about installing only specific vendor print drivers. I got this to work by not installing any off the base os, but added the print packages from the Apple downloads page. I installed only HP, Canon and Gutenprint. It saved a substantial amount of room and so far I haven’t run into any problems. Hope that solution helps someone!

Viewing 15 posts - 16 through 30 (of 35 total)
  • You must be logged in to reply to this topic.

Comments are closed