AFP548 Changing the world one server at a time.

10.6 Snow Leopard InstallerChoices.xml

Home › Forums › Software › InstaDMG › 10.6 Snow Leopard InstallerChoices.xml

Viewing 15 posts - 1 through 15 (of 35 total)
  • Author
    Posts
  • #377512
    benfeea1
    Participant

    Does anyone have a good InstallerChoices.xml file for 10.6 Snow Leopard.

    I want to install:
    Essential System Software
    All Printer Support
    Rosetta
    X11
    QT 7

    I don’t want to install:
    Additional Fonts
    Language Translations.

    I made an InstallerChoices.xml file. It seems to correctly configure the option I want.
    However, when I load the new 10.6 image on my test Mac it runs horribly. Lots of spinning pinwheel, apps crash…
    When I made the image without an InstallerChoices.xml everything works fine. So I figure my InstallerChoices.xml is bad.

    This is what I have.
    ——————————


    All_PrinterDrivers
    AdditionalFonts
    LanguageTranslations
    Rosetta
    QuickTimePlayer7

    #377514
    dead2sin
    Participant

    You can get all the options for the installer (the exact names) by using the installer command.

    It should be something like:

    installer -showChoicesXML -pkg /path/to/osinstall/pkg.pkg

    I forget the name of the actual package, but it is buried within the OS install DVD.

    My current installerchoices.xml looks like this:

    <array>
    	<string>Popular_PrinterDrivers</string>
    	<string>Host_PrinterDrivers</string>
    	<string>LanguageTranslations</string>
    </array>

    For the stuff you are wanting, it should look something like this:

    <array>
            <string>All_PrinterDrivers</string>
    	<string>LanguageTranslations</string>
    	<string>AdditionalFonts</string>
            <string>Rosetta</string>
    </array>

    According to the options that the command I mentioned spits out, X11 is installed by default as well as QuickTime Player 7 (Somehow I don’t remember this being default when I installed from CD). As a result, you don’t need those in the installerchoices file.

    I think that covers it. Let me know if it fixes any of the issues for you.

    #377541
    benfeea1
    Participant

    Inconclusive results for far.
    The new InstallerChoices.xls is technically working so far, but I still have some issues. I feel like I have only peeled away one layer of this onion.

    More info to come.

    #377591
    Patrick Fergus
    Participant

    benfeea1,

    Don’t forget to target a blank drive when building InstallerChoices like I mentioned at the bottom of this post. I just pounded my head against the wall for a few hours until I remembered to point installer to a blank drive. You’ll get all sorts of goofy things (like the InstallerChoices file not appearing to apply correctly) if you leave installer pointed at the default of / .

    – Patrick

    #377636
    imgodd
    Participant

    I just started using an InstallerChoices file now that I am creating 10.6 images. I wasn’t having any success until I looked at the instadmg script and saw that it is looking for the InstallerChoices.xml file in ./InstallerFiles/BaseOS/. This is different from what I read in the included InstallerChoices documentation.

    From ./Documentation/InstallerChoices/README …

    “If your InstaDMG host is running on 10.5 the script will check for the existence of an InstallerChoices.xml file in the same directory as the instadmg script.”

    That line made me think the InstallerChoices.xml file should be in the same directory as the instadmg script. I stuffed my InstallerChoices.xml file in ./InstallerFiles/BaseOS/ and it worked.

    #378055
    carson
    Participant

    I’m struggling with this as well. I’m using 1.6b1 of instadmg as well as the provided 10.6_vanilla.catalog file to build an image. When I drop my installerchoices.xml file in with my base OS DVD image, the process only takes 8 minutes and I end up with a non-functioning, 835MB image. Here are the contents of my installerchoices file:

    <array>
    	<string>PrinterDriversGroup</string>
    	<string>Guten_Printer_Drivers</string>
    	<string>AdditionalFonts</string>
    	<string>LanguageTranslations</string>
    </array>

    I’ve also cleared out the cached base OS image so that it creates a new one. I saw this in the output. Notice that it only takes 17 seconds on my Mac Pro to run the installer based on the installerchoices file:

    10:39:04 ###### Beginning Installation from /private/tmp/InstaDMG_temp_folder.qDZxUX/mount_point.AHvGGt ######
    Installing system from: /private/tmp/InstaDMG_temp_folder.qDZxUX/mount_point.AHvGGt onto image at: /tmp/mount_point.rTJ5Bs using InstallerChoices file: ./InstallerFiles/BaseOS/InstallerChoices.xml and language code: en
    Base OS installed
    Compacting and saving cached image to: ./Caches/BaseImageCache/713800C0_d0bb44c38eb28ae51d4164d422c58035ad163373.dmg
    10:39:21 ###### Looking for a Cached Image ######

    Any tips on the proper formatting or syntax of this xml file for v1.6b1?

    #378103
    chrisb
    Participant

    carson wrote:

    I’m struggling with this as well. I’m using 1.6b1 of instadmg as well as the provided 10.6_vanilla.catalog file to build an image. When I drop my installerchoices.xml file in with my base OS DVD image, the process only takes 8 minutes and I end up with a non-functioning, 835MB image. Here are the contents of my installerchoices file:

    <array>
    	<string>PrinterDriversGroup</string>
    	<string>Guten_Printer_Drivers</string>
    	<string>AdditionalFonts</string>
    	<string>LanguageTranslations</string>
    </array>

    I’ve also cleared out the cached base OS image so that it creates a new one. I saw this in the output. Notice that it only takes 17 seconds on my Mac Pro to run the installer based on the installerchoices file:

    10:39:04 ###### Beginning Installation from /private/tmp/InstaDMG_temp_folder.qDZxUX/mount_point.AHvGGt ######
    Installing system from: /private/tmp/InstaDMG_temp_folder.qDZxUX/mount_point.AHvGGt onto image at: /tmp/mount_point.rTJ5Bs using InstallerChoices file: ./InstallerFiles/BaseOS/InstallerChoices.xml and language code: en
    Base OS installed
    Compacting and saving cached image to: ./Caches/BaseImageCache/713800C0_d0bb44c38eb28ae51d4164d422c58035ad163373.dmg
    10:39:21 ###### Looking for a Cached Image ######

    Any tips on the proper formatting or syntax of this xml file for v1.6b1?

    For a while I had an issue very similar to this, except my image file was around 400MB.

    After a few days of trial and error, I started from scratch with a newly created MAC OS X Install DVD.Dmg and a new installerchoices.xml. Then built from there.
    My installerchoices.xml looks like this

    <array>
    		<string>Popular_PrinterDrivers</string>
    		<string>AdditionalFonts</string>
    		<string>X11</string>
    		<string>Rosetta</string>
    		<string>QuickTimePlayer7</string>
    </array>
    #378104
    carson
    Participant

    That worked. I was able to keep my installer image, but that choices file worked. I added the Languages line since I don’t need those in my image. Thanks again.

    <array>
    		<string>Popular_PrinterDrivers</string>
    		<string>AdditionalFonts</string>
    		<string>LanguageTranslations</string>
    		<string>X11</string>
    		<string>Rosetta</string>
    		<string>QuickTimePlayer7</string>
    </array>
    #378488
    sketch
    Participant

    I ran:

    sudo installer -showChoicesXML -pkg /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/OSInstall.mpkg -target /Volumes/Test > ~/Desktop/OSInstall_default.xml

    but I get “installer: Error – ” and no output :\

    #378490
    Allister Banks
    Participant

    Hey sketch,

    The -target flag and path after it is unnecessary.

    Allister

    #378493
    sketch
    Participant

    Allister wrote:

    Hey sketch,

    The -target flag and path after it is unnecessary.

    Allister

    No difference

    #378497
    dead2sin
    Participant

    Quote by: sketch

    Allister wrote:

    Hey sketch,

    The -target flag and path after it is unnecessary.

    Allister

    No difference

    Try just this:

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

    Does that give you any output whatsoever?

    #378498
    sketch
    Participant

    dead2sin wrote:

    Quote by: sketch

    Allister wrote:

    Hey sketch,

    The -target flag and path after it is unnecessary.

    Allister

    No difference

    Try just this:

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

    Does that give you any output whatsoever?

    Negative. Same error.

    #378499
    Allister Banks
    Participant

    Hey sketch,

    This is 10.6 client, right ? What is the build number of the OS on the disc?

    Allister

    #378500
    sketch
    Participant

    Allister wrote:

    Hey sketch,

    This is 10.6 client, right ? What is the build number of the OS on the disc?

    Allister

    Mac OS 10.6.2
    build 10C2234

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