- This topic has 34 replies, 14 voices, and was last updated 15 years, 2 months ago by
Allister Banks.
-
AuthorPosts
-
November 12, 2009 at 12:18 am #377512
benfeea1
ParticipantDoes 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 7I 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
November 12, 2009 at 2:06 pm #377514dead2sin
ParticipantYou 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.
November 17, 2009 at 12:58 pm #377541benfeea1
ParticipantInconclusive 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.
December 1, 2009 at 5:18 pm #377591Patrick Fergus
Participantbenfeea1,
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
December 7, 2009 at 10:16 pm #377636imgodd
ParticipantI 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.
February 23, 2010 at 6:14 pm #378055carson
ParticipantI’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?
March 1, 2010 at 5:40 pm #378103chrisb
Participantcarson 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>March 1, 2010 at 8:48 pm #378104carson
ParticipantThat 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>May 3, 2010 at 4:45 pm #378488sketch
ParticipantI 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 :\
May 3, 2010 at 5:24 pm #378490Allister Banks
ParticipantHey sketch,
The -target flag and path after it is unnecessary.
Allister
May 3, 2010 at 6:08 pm #378493sketch
ParticipantAllister wrote:
Hey sketch,
The -target flag and path after it is unnecessary.
Allister
No difference
May 3, 2010 at 6:39 pm #378497dead2sin
ParticipantQuote 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.mpkgDoes that give you any output whatsoever?
May 3, 2010 at 6:43 pm #378498sketch
Participantdead2sin 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.mpkgDoes that give you any output whatsoever?
Negative. Same error.
May 3, 2010 at 6:52 pm #378499Allister Banks
ParticipantHey sketch,
This is 10.6 client, right ? What is the build number of the OS on the disc?
Allister
May 3, 2010 at 6:56 pm #378500sketch
ParticipantAllister 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 -
AuthorPosts
- You must be logged in to reply to this topic.