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.
——————————
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:
[code]
For the stuff you are wanting, it should look something like this:
[code]
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.
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.
benfeea1,
Don’t forget to target a blank drive when building InstallerChoices like I mentioned at the bottom of [url=https://www.afp548.com/forum/viewtopic.php?showtopic=18907]this post[/url]. 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
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 …
[quote]”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.”[/quote]
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.
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:
[code]
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?
[QUOTE][u]Quote by: carson[/u][p]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:
[code]
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?[/p][/QUOTE]
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
[code]
[/code]
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.
[code]
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 :\
Hey sketch,
The -target flag and path after it is unnecessary.
Allister
[QUOTE][u]Quote by: Allister[/u][p]Hey sketch,
The -target flag and path after it is unnecessary.
Allister[/p][/QUOTE]
No difference
[QUOTE][u]Quote by: sketch[/u][p][QUOTE][u]Quote by: Allister[/u][p]Hey sketch,
The -target flag and path after it is unnecessary.
Allister[/p][/QUOTE]
No difference[/p][/QUOTE]
Try just this:
[code]sudo installer -showChoicesXML -pkg /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/OSInstall.mpkg[/code]
Does that give you any output whatsoever?
[QUOTE][u]Quote by: dead2sin[/u][p][QUOTE][u]Quote by: sketch[/u][p][QUOTE][u]Quote by: Allister[/u][p]Hey sketch,
The -target flag and path after it is unnecessary.
Allister[/p][/QUOTE]
No difference[/p][/QUOTE]
Try just this:
[code]sudo installer -showChoicesXML -pkg /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/OSInstall.mpkg[/code]
Does that give you any output whatsoever?[/p][/QUOTE]
Negative. Same error.
Hey sketch,
This is 10.6 client, right ? What is the build number of the OS on the disc?
Allister
[QUOTE][u]Quote by: Allister[/u][p]Hey sketch,
This is 10.6 client, right ? What is the build number of the OS on the disc?
Allister[/p][/QUOTE]
Mac OS 10.6.2
build 10C2234