I am trying to install Xcode 4.2.1 downloaded from the app store
every time some time during the installation it stops and this error occurs: (see screenshot below)
"Installation failed. The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance"
essentially, I followed this threat
https://discussions.apple.com/thread/3199866?start=90&tstart=0
and links therein
independently what I do:
- deleted old Xcode 3 installation via
sudo /Developer/Library/uninstall-devtools --mode=all
- when I run the installer directly, and when I run Xcode.mpkg found in the package contents of the installer
- having killed the itunes helper and made sure it's not checked under startup items
- if I start it from terminal, sudoed --- cd /Aplications sudo open Install\ Xcode.app/
- clicking the "try again" button
- there are 65GB HD space available
- neither verify disk nor repair disk did help
Could something else be done?
The following two things could be done, I guess, but:
- I could replace packages in the installer, if I had any. Also, that doesn't seem very reasonable to do, especially since somebody in this threat has pointed out that it's unlikely the installer. On the other hand, the log file (see below) seems to indicate just that. Not sure what this means then.
- I could try something with sudo, which I don't understand, hence I am hesitant
1: Repair Disk Permissions with Disk Utility to recover the functionality of sudo.
2: Using the Terminal: "sudo chmod 0440 /etc/sudoers".
3: Restart install Xcode.
4: Success
Are there any other things I could try?
Thanks,
Claus
Nov 30 07:47:13 MachineName installd[485]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7fe7cac381d0 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.} {
NSFilePath = "./preinstall";
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cDeveloperTools.pkg\U201d.";
NSURL = "file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DeveloperTools.pkg";
PKInstallPackageIdentifier = "com.apple.pkg.DeveloperToolsLeo";
}
Nov 30 07:47:13 MachineName installer[477]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7fd949c7c1e0 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.}
Nov 30 07:47:14 MachineName installer[477]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.