Damn, I was running “InstaDMG version 1.5rc2 (svn revision: 197)” and it started to install Xcode and I got an xcode error. I was trying to take a screen shot of the error and I accidentally hot return, so the dialog went away. I can’t find the error in the logs, but it was something about trying to install xCode in a non-empty directory.
Anyone else seen this?
More info. I ran it again and this is the exact error I am seeing when InstaDMG gets to Xcode Tools:
Xcode Tools
—————
You have selected a custom install location that exists and is not empty. Please make sure the specified directory empty or choose a different location, then retry your install.
here’s the entry from the terminal:
Working on folder 7 (15:35:00)
Mounting the package dmg: 7 (./InstallerFiles/BaseUpdates/7) at: /private/tmp/mount_folder.L5fQKz/mount_point.WbMEo9
Copying folder /private/tmp/mount_folder.L5fQKz/mount_point.WbMEo9 into the target at /tmp/package.nyTvzM
Installing XcodeTools.mpkg from ../../InstallerFiles/InstaUp2DatePackages/xcode312_2621_developerdvd.dmg (7) inside a chroot jail
Installing DeveloperTools…..
from the debug log
Working on folder 7 (15:35:00)
Mounting the package dmg: 7 (./InstallerFiles/BaseUpdates/7) at: /private/tmp/mount_folder.L5fQKz/mount_point.WbMEo9
PERCENT:-1.000000
MESSAGE:expected CRC32 $99ECC04C
/dev/disk3 Apple_partition_scheme
/dev/disk3s1 Apple_partition_map
/dev/disk3s2 Apple_Driver_ATAPI
/dev/disk3s3 Apple_HFS /private/tmp/mount_folder.L5fQKz/mount_point.WbMEo9
/dev/disk3 Apple_partition_scheme
/dev/disk3s1 Apple_partition_map
/dev/disk3s2 Apple_Driver_ATAPI
/dev/disk3s3 Apple_HFS /private/tmp/mount_folder.L5fQKz/mount_point.WbMEo9
Copying folder /private/tmp/mount_folder.L5fQKz/mount_point.WbMEo9 into the target at /tmp/package.nyTvzM
Installing XcodeTools.mpkg from ../../InstallerFiles/InstaUp2DatePackages/xcode312_2621_developerdvd.dmg (7) inside a chroot jail
installer[58523]: JavaScript error “Undefined value” while running “__choice_UNIXDevelopmentSupportHIDDEN_start_selected”
installer[58523]: __choice_UNIXDevelopmentSupportHIDDEN_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_DeveloperToolsSystemComponents_start_selected”
installer[58523]: __choice_DeveloperToolsSystemComponents_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_CrossDevelopmentGroup_start_enabled”
installer[58523]: __choice_CrossDevelopmentGroup_start_enabled returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_DeveloperToolsSystemComponentsHIDDEN_start_selected”
installer[58523]: __choice_DeveloperToolsSystemComponentsHIDDEN_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_UNIXDevelopmentSupport_start_selected”
installer[58523]: __choice_UNIXDevelopmentSupport_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_UNIXDevelopmentSupport_start_selected”
installer[58523]: __choice_UNIXDevelopmentSupport_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_DeveloperToolsSystemComponentsHIDDEN_start_selected”
installer[58523]: __choice_DeveloperToolsSystemComponentsHIDDEN_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_CrossDevelopmentGroup_start_enabled”
installer[58523]: __choice_CrossDevelopmentGroup_start_enabled returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_DeveloperToolsSystemComponents_start_selected”
installer[58523]: __choice_DeveloperToolsSystemComponents_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_UNIXDevelopmentSupportHIDDEN_start_selected”
installer[58523]: __choice_UNIXDevelopmentSupportHIDDEN_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_UNIXDevelopmentSupportHIDDEN_start_selected”
installer[58523]: __choice_UNIXDevelopmentSupportHIDDEN_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_DeveloperToolsSystemComponents_start_selected”
installer[58523]: __choice_DeveloperToolsSystemComponents_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_CrossDevelopmentGroup_start_enabled”
installer[58523]: __choice_CrossDevelopmentGroup_start_enabled returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_DeveloperToolsSystemComponentsHIDDEN_start_selected”
installer[58523]: __choice_DeveloperToolsSystemComponentsHIDDEN_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_UNIXDevelopmentSupport_start_selected”
installer[58523]: __choice_UNIXDevelopmentSupport_start_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_XcodeExtrasHIDDEN_selected”
installer[58523]: __choice_XcodeExtrasHIDDEN_selected returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_DeveloperToolsSystemComponents_enabled”
installer[58523]: __choice_DeveloperToolsSystemComponents_enabled returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_UNIXDevelopmentSupport_enabled”
installer[58523]: __choice_UNIXDevelopmentSupport_enabled returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_UNIXDevelopmentSupport_enabled”
installer[58523]: __choice_UNIXDevelopmentSupport_enabled returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_DeveloperToolsSystemComponents_enabled”
installer[58523]: __choice_DeveloperToolsSystemComponents_enabled returned error: Undefined value
installer[58523]: JavaScript error “Undefined value” while running “__choice_XcodeExtrasHIDDEN_selected”
installer[58523]: __choice_XcodeExtrasHIDDEN_selected returned error: Undefined value
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/DeveloperTools.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/OpenGLApps.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/DevToolsDocumentation.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/gcc4.0.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/gcc4.0ADCDocs.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/gcc4.2.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/gcc4.2ADCDocs.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/llvm-gcc4.2.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/MacOSX10.4.Universal.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/MacOSX10.5.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/DevExamples.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/DeveloperToolsCLI.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/DevDocumentation.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/OtherDevDocumentation.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/X11Documentation.pkg
installer[58523]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/tmp/package.nyTvzM/Packages/RelocatableScript.pkg
installer[58523]: -[IFDInstallController(Private) _install]: installStack = (
{
installOptions = {
InstallTitle = “Xcode Tools”;
OSInstall = 0;
TargetVolume = {
BayName = “”;
BlockSize = 512;
BusSpecificKeys = {
};
“DA-BusName” = “/”;
“DA-BusPath” = “IODeviceTree:/”;
“DA-DeviceModel” = “Disk Image”;
“DA-DevicePath” = “IOService:/IOResources/IOHDIXController/IOHDIXHDDriveOutKernel/IODiskImageBlockStorageDeviceOutKernel”;
“DA-DeviceProtocol” = “Virtual Interface”;
“DA-DeviceRevision” = “10.5v199”;
“DA-DeviceUnit” = 17;
“DA-DeviceVendor” = Apple;
“DA-MediaBSDMajor” = 14;
“DA-MediaBSDMinor” = 9;
“DA-MediaBSDName” = disk2s2;
“DA-MediaBSDUnit” = 2;
“DA-MediaBlockSize” = 512;
“DA-MediaContent” = “48465300-0000-11AA-AA11-00306543ECAC”;
“DA-MediaEjectable” = 1;
“DA-MediaIcon-CFBundleIdentifier” = “com.apple.iokit.IOStorageFamily”;
“DA-MediaIcon-IOBundleResourceFile” = “Removable.icns”;
“DA-MediaKind” = IOMedia;
“DA-MediaLeaf” = 1;
“DA-MediaName” = “disk image”;
“DA-MediaPath” = “IOService:/IOResources/IOHDIXController/IOHDIXHDDriveOutKernel/IODiskImageBlockStorageDeviceOutKernel/IOBlockStorageDriver/Apple sparse disk image (shadowed) Media/IOGUIDPartitionScheme/disk image@2”;
“DA-MediaRemovable” = 1;
“DA-MediaSize” = 321778573312;
“DA-MediaUUID” = “9E13468D-CB53-4CC5-B01F-BE789F4C5DC1”;
“DA-MediaWhole” = 0;
“DA-MediaWritable” = 1;
“DA-VolumeKind” = hfs;
“DA-VolumeMountable” = 1;
“DA-VolumeName” = InstaDMG;
“DA-VolumeNetwork” = 0;
“DA-VolumePath” = “file://localhost/private/tmp/mount_folder.L5fQKz/mount_point.Y1lxDq/”;
“DA-VolumeUUID” = “4943E8D8-881B-3A06-AB08-27BB8D59F37B”;
DeviceName = “”;
DiskIdentifier = disk2s2;
Filesystem = “Journaled HFS+”;
Flags = 0;
HasDiskArbInfo = 1;
IOContent = “Apple_HFS”;
IOKitSize = 321778573312;
IsCDROM = 0;
IsDVDROM = 0;
IsInternal = 0;
LVMGroup = 0;
LVMGroupFreeSpace = 0;
LVMGroupVolumeCount = 0;
LVMVolume = 0;
LVMVolumeName = “”;
LVMVolumeStatus = “”;
LVMVolumeType = “”;
LVMVolumeUUID = “”;
LowLevelFormat = 0;
MediaName = “disk image”;
MediaType = Generic;
MountPoint = “/private/tmp/mount_folder.L5fQKz/mount_point.Y1lxDq”;
OFPath = “”;
Protocol = “Disk Image”;
RAIDAutoRebuild = 0;
RAIDBytesRebuilt = 0;
RAIDChunkCount = 0;
RAIDChunkSize = 0;
RAIDMaster = 0;
RAIDMemberStatus = “”;
RAIDMemberType = “”;
RAIDMemberUUID = “”;
RAIDMembers = (
);
RAIDRebuilding = 0;
RAIDSequenceNumber = 0;
RAIDSetLevelType = “”;
RAIDSetName = “”;
RAIDSetStatus = “”;
RAIDSetTimeout = 0;
RAIDSetUUID = “”;
RAIDSizesCanVary = 0;
RAIDSlice = 0;
RAIDSliceCount = 0;
RAIDSliceNumber = 0;
RAIDSpare = 0;
RAIDSpares = (
);
RawIOContent = “48465300-0000-11AA-AA11-00306543ECAC”;
SmartStatus = {
};
UUID = “4943E8D8-881B-3A06-AB08-27BB8D59F37B”;
VirtualOnly = 0;
VolumeName = InstaDMG;
WholeDiskIOContent = “GUID_partition_scheme”;
Writable = 1;
};
};
location = file://localhost;
packages = (
{
Unique Identifier: PKG_REF_0
Bundle Identifier: com.apple.pkg.DeveloperTools
Version: 4.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/DeveloperTools.pkg
Installed Size: 452450ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_2
Bundle Identifier: com.apple.pkg.OpenGLApps
Version: 1.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/OpenGLApps.pkg
Installed Size: 14154ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_3
Bundle Identifier: com.apple.pkg.DevToolsDocumentation
Version: 1.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/DevToolsDocumentation.pkg
Installed Size: 197850ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_4
Bundle Identifier: com.apple.pkg.gcc4.0
Version: 4.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/gcc4.0.pkg
Installed Size: 96994ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_5
Bundle Identifier: com.apple.pkg.gcc4.0ADCDocs
Version: 1.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/gcc4.0ADCDocs.pkg
Installed Size: 6530ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_6
Bundle Identifier: com.apple.pkg.gcc4.2
Version: 4.2.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/gcc4.2.pkg
Installed Size: 109586ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_7
Bundle Identifier: com.apple.pkg.gcc4.2ADCDocs
Version: 1.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/gcc4.2ADCDocs.pkg
Installed Size: 7082ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_8
Bundle Identifier: com.apple.pkg.llvm-gcc4.2
Version: 4.2.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/llvm-gcc4.2.pkg
Installed Size: 132218ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_9
Bundle Identifier: com.apple.pkg.MacOSX10.4.Universal
Version: 4.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/MacOSX10.4.Universal.pkg
Installed Size: 168442ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_10
Bundle Identifier: com.apple.pkg.MacOSX10.5
Version: 1.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/MacOSX10.5.pkg
Installed Size: 238102ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_11
Bundle Identifier: com.apple.pkg.DevExamples
Version: 4.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/DevExamples.pkg
Installed Size: 161698ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_12
Bundle Identifier: com.apple.pkg.DeveloperToolsCLI
Version: 1.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/DeveloperToolsCLI.pkg
Installed Size: 56158ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_13
Bundle Identifier: com.apple.pkg.DevDocumentation
Version: 4.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/DevDocumentation.pkg
Installed Size: 458646ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_14
Bundle Identifier: com.apple.pkg.OtherDevDocumentation
Version: 4.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/OtherDevDocumentation.pkg
Installed Size: 21674ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_15
Bundle Identifier: com.apple.pkg.X11Documentation
Version: 1.0.0.9000000000.1.1192168948
Location: file://localhost/tmp/package.nyTvzM/Packages/X11Documentation.pkg
Installed Size: 6798ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
,
{
Unique Identifier: PKG_REF_19
Bundle Identifier: com.apple.pkg.RelocatableScript
Version: 1.0.0.9000000000
Location: file://localhost/tmp/package.nyTvzM/Packages/RelocatableScript.pkg
Installed Size: 0ll KB
Install Order: 0l
Restart Action: None (Not Specified)
Post Install Action: Root
}
);
}
)
installer[58523]: _installNextPackage of 1
installer[58523]: Starting installation:
installer[58523]: Preparing volume “InstaDMG” for installation
installer[58523]: Configuring volume “InstaDMG”
installer[58523]: Preparing disk for local booted install.
installer[58523]: Free space on “InstaDMG”: 174 GB (187580362752 bytes).
installer[58523]: Create temporary directory “/private/tmp/DeveloperTools.pkg.5852387lqrw”
installer: Package name is Xcode Tools
installer: Installing at base path /private/tmp/mount_folder.L5fQKz/mount_point.Y1lxDq
installer: Preparing for installation…..
installer: Preparing the Disk…..
installer: Preparing Target Volume
#installer[58523]: Running install actions
installer[58523]: Processing DeveloperTools:
installer[58523]: Determining files to install
installer: Preparing Xcode Tools…..
installer: Running Installer actions
installer:
installer: Installing DeveloperTools…..
installer:
installer: Configuring Installation
#installer[58523]: It took 0.58 seconds to create the install plan for DeveloperTools.
installer[58523]: Configuring deferred files
installer[58523]: Assembling temporary receipt
installer[58523]: Performing pre-extraction actions
installer[58523]: run preinstall script for DeveloperTools
I ran InstaDMG again, this time with debugging on (level 4) and with the -r option.
At the Xcode installation, I see this:
Configuring Installation
#installer[20795]: It took 1.01 seconds to create the install plan for DeveloperTools.
installer[20795]: Configuring deferred files
installer[20795]: Assembling temporary receipt
installer[20795]: Performing pre-extraction actions
installer[20795]: run preinstall script for DeveloperTools
#installer[20795]: Install failed: The following install step failed: run preinstall script for DeveloperTools. Contact the software manufacturer for assistance.
The install failed (The following install step failed: run preinstall script for DeveloperTools. Contact the software manufacturer for assistance.)
I have also seen this, with build 209 and the latest xcode dmg.
Have you, or anyone else, found a solution?