Unity 4.2 installer failing on OSX 10.7.4

Discussion in 'Unity Support' started by samim23, Jul 22, 2013.

  1. samim23

    samim23

    New Member

    Joined:
    Sep 11, 2012
    Messages:
    60
    When trying to install the new Unity 4.2 on a OSX 10.7.4 system, i get the following error:
    "The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."

    Is it possible that 4.2 does not support older OSX versions anymore?
    Any clues towards a solution would be most welcome!
  2. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
    I've not heard of others with this problem. Maybe take an md5 hash of your unity-4.2.0.dmg, and post it here. I'm grabbing the dmg and will post the md5 hash I get. (I have OSX 10.7.5 so will also let you know if I can install or not.)
  3. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
    graham$ md5 unity-4.2.0.dmg
    MD5 (unity-4.2.0.dmg) = 4996e84514f93955a3191852212ec591
  4. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
    and was able to install this version on my 10.7.5 machine.
  5. gruddlebug

    gruddlebug

    Member

    Joined:
    Mar 11, 2013
    Messages:
    62
    Hello,

    Installs fine on 10.7.5, so support for Lion is still there!
  6. samim23

    samim23

    New Member

    Joined:
    Sep 11, 2012
    Messages:
    60
  7. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
  8. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
    Oh, and what was the md5 for the dmg you obtained?
  9. Kojo Opuni

    Kojo Opuni

    Member

    Joined:
    Sep 25, 2012
    Messages:
    5
    I'm in the same boat - getting the same error. I'm using Mac OS X 10.7.5 and the installation continues to fail despite downloading the installer from different browsers (Firefox, Chrome, Safari, and even Opera).
  10. le4nder

    le4nder

    New Member

    Joined:
    Jul 23, 2013
    Messages:
    4
    I have the same problem. I'm using OSX 10.6.4, the md5 checksum is identical to the one posted above. I am also trying to install it on a different partition than the operating system. Deleting the existing unity installation doesn't solve the problem.
  11. BaudelaireGaudi

    BaudelaireGaudi

    New Member

    Joined:
    Jul 23, 2013
    Messages:
    2
    I have the same problem on OS X 10.6.8
  12. samim23

    samim23

    New Member

    Joined:
    Sep 11, 2012
    Messages:
    60
    MD5 (unity-4.2.0.dmg) = 4996e84514f93955a3191852212ec591
  13. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
    @samin23 - okay, so not a corrupted installer. Thinks....
  14. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
    Unity releases on a Mac are always installed to /Applications/Unity. You can install a new release alongside an "old" release by renaming the Unity folder prior to installing. On my machine, for example I have:

    graham$ ls -l | grep Unity
    drwxrwxr-x 9 root admin 306 22 Jul 20:34 Unity 4.2.0f4
    drwxrwxr-x 9 root admin 306 18 Mar 21:48 Unity 410
    drwxrwxr-x 8 root admin 272 18 May 19:49 Unity bb10 4.2.0b2
    drwxrwxr-x 9 root admin 306 5 Oct 2012 Unity356
    drwxrwxr-x 9 root admin 306 18 May 19:53 Unity412
    drwxrwxr-x 9 root admin 306 14 Jun 15:59 Unity415
    drwxrwxr-x 9 root admin 306 13 Apr 18:29 UnityBB10_apha2
  15. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
    Can you use Console? This shows every error/warning that the Mac collects. Launch it, then click the "Clear display" button in the button bar area. Then install Unity. Console should collect warnings and errors. Post what you get here.
  16. le4nder

    le4nder

    New Member

    Joined:
    Jul 23, 2013
    Messages:
    4
    I was just testing if removing the old install would help.

    Here's what the console logs:

    23.07.13 16:05:10 Installer[2173] PackageKit: *** Missing bundle identifier: /Library/Receipts/wxPython2.8-osx-unicode-universal-py2.7.pkg
    23.07.13 16:05:21 Installer[2173] <ZeroSliderSplitView: 0x1003ae8e0>: the delegate <TargetSelectPage: 0x117f11dd0> was sent -splitView:resizeSubviewsWithOldSize: and left the subview frames in an inconsistent state:
    23.07.13 16:05:21 Installer[2173] Split view bounds: {{0, 0}, {402, 104}}
    23.07.13 16:05:21 Installer[2173] Subview frame: {{0, 0}, {0, 32}}
    23.07.13 16:05:21 Installer[2173] Subview frame: {{0, 0}, {402, 104}}
    23.07.13 16:05:21 Installer[2173] The outer edges of the subview frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)
    23.07.13 16:05:28 Installer[2173] PackageKit: <relocate> element is missing <bundle>, skipping: <relocate></relocate>
    23.07.13 16:05:28 Installer[2173] PackageKit: <relocate> element is missing <bundle>, skipping: <relocate></relocate>
    23.07.13 16:05:28 Installer[2173] PackageKit: <relocate> element is missing <bundle>, skipping: <relocate></relocate>
    23.07.13 16:05:28 Installer[2173] PackageKit: <relocate> element is missing <bundle>, skipping: <relocate></relocate>
    23.07.13 16:05:28 Installer[2173] Die Installation ist aufgrund eines Fehlers fehlgeschlagen. Wenden Sie sich an den Hersteller der Software.

    The last statement (the german one) translates to "The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance."
  17. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
    Have seen some issues that look like:

    7/22/13 5:08:49.175 PM com.apple.SecurityServer: Failed to authorize right 'system.install.app-store-software' by client '/System/Library/PrivateFrameworks/PackageKit.framework/Versions/A/Resources/installd' [45636] for authorization created by '/System/Library/CoreServices/Installer.app' [44729]
    7/22/13 5:08:49.641 PM installd: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=102 "The package “Unity” is untrusted." UserInfo=0x7fc2d8544f70 {NSLocalizedDescription=The package “Unity” is untrusted., NSURL=file://localhost/Volumes/Unity%20Installer/Unity.pkg#Unity.pkg, PKInstallPackageIdentifier=com.unity3d.UnityEditor4.x, NSUnderlyingError=0x7fc2d856fd20 "The operation couldn’t be completed. CSSMERR_TP_NOT_TRUSTED"} {
    * *NSLocalizedDescription = "The package \U201cUnity\U201d is untrusted.";
    * *NSURL = "file://localhost/Volumes/Unity%20Installer/Unity.pkg#Unity.pkg";
    * *NSUnderlyingError = "Error Domain=NSOSStatusErrorDomain Code=-2147409622 \"The operation couldn\U2019t be completed. CSSMERR_TP_NOT_TRUSTED\" UserInfo=0x7fc2d85652e0 {SecTrustResult=5, PKTrustLevel=PKTrustLevelNotTrusted, NSLocalizedFailureReason=CSSMERR_TP_NOT_TRUSTED}";
    * *PKInstallPackageIdentifier = "com.unity3d.UnityEditor4.x";
    }


    Can you try right-mouse clicking on the DMG and choose Open With/DiskImageMounter. (Just a hunch.)
  18. le4nder

    le4nder

    New Member

    Joined:
    Jul 23, 2013
    Messages:
    4
    Right clicking and opening the DMG mounts the image as it would normally do.
  19. aigam

    aigam

    Member

    Joined:
    Dec 31, 2005
    Messages:
    160
    I can mount the image, but at the end of the installation it says The package “Unity” is untrusted."
  20. Graham Dunnett

    Graham Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Messages:
    2,595
  21. aigam

    aigam

    Member

    Joined:
    Dec 31, 2005
    Messages:
    160
    No, I don't have any certificate with a blue +.
    Anybody knows how we can access the certificate that is using unity? Maybe we can set it to always trust...
  22. bliprob

    bliprob

    Member

    Joined:
    May 13, 2007
    Messages:
    901
    I tried setting the certificate to "Always Trust" -- you can do this by setting your clock back a year, then running the installer. The system pops up a warning that the cert is invalid (not yet valid!) and you can then open the "trust" section and set it to "always trust". However, this didn't work.

    A little more googling led to this solution: use pkgutil to extract rebuild the installer. It will rebuild it with no signature.

    Code (csharp):
    1.  
    2. $pkgutil --expand /Volumes/Unity\ Installer/Unity.pkg /tmp/Unity.pkg
    3. $pkgutil --flatten /tmp/Unity.pkg ~/Desktop/Unity.pkg
    4.  
    Then run the installer pkg on your desktop. I just got 4.2 installed using this method.
  23. samim23

    samim23

    New Member

    Joined:
    Sep 11, 2012
    Messages:
    60
    I´ve checked out the "KeyChain Access" app. There i noticed that i had some old Apple certs which had expired
    (used those for a IOS project last year but did not renew my membership)

    So i went ahead and deleted those.
    Now the unity 4.2 installer says on start: "Unity was signed with a invalid certificate. This package might not install what you expect. Do you want to continue the installation anyway?"

    Hope this helps, looking forward to a resolution of this issue.
  24. aigam

    aigam

    Member

    Joined:
    Dec 31, 2005
    Messages:
    160
    This worked! Thanks a lot!!
    Roger
  25. samim23

    samim23

    New Member

    Joined:
    Sep 11, 2012
    Messages:
    60
    @bliprob solution worked here to.

    But after reading forum posts about the other peoples difficult experiences with 4.2, i´m a tiny bit worried to upgrade the projects.
    Backup time!
  26. Kojo Opuni

    Kojo Opuni

    Member

    Joined:
    Sep 25, 2012
    Messages:
    5
    :p Thank you, bliprob! This solution worked for me. Unity 4.2 installed! You will have to upgrade your projects though - so be warned.
  27. le4nder

    le4nder

    New Member

    Joined:
    Jul 23, 2013
    Messages:
    4
    Thanks that worked, even I my problems seemingly weren't related to certificates^^
  28. petey

    petey

    Member

    Joined:
    May 20, 2009
    Messages:
    771
    Hey guys,
    I'm having the same problem here but I've never used pkgutil.
    Where abouts to you enter this? -

    Code (csharp):
    1. $pkgutil --expand /Volumes/Unity\ Installer/Unity.pkg /tmp/Unity.pkg
    2. $pkgutil --flatten /tmp/Unity.pkg ~/Desktop/Unity.pkg
    Thanks
    Pete
  29. samim23

    samim23

    New Member

    Joined:
    Sep 11, 2012
    Messages:
    60
    First mount the unity3d iso you´ve downloaded. Then search for "Terminal" on your mac. Once that is open type in the first line with out the $, wait, and then type in the second line. done.
  30. petey

    petey

    Member

    Joined:
    May 20, 2009
    Messages:
    771
    Thanks mate, but I get this after i put the first line in Terminal
    -bash: --expand: command not found
    is pkgutil something you have to install?
  31. orb

    orb

    Member

    Joined:
    Nov 24, 2010
    Messages:
    678
    You're probably typing the dollar-sign, which just means it should expand a variable named "$pkgutil". The dollar-sign is just an indicator for the command prompt, so don't type that.
  32. petey

    petey

    Member

    Joined:
    May 20, 2009
    Messages:
    771
    :oops: Ha, Thanks. That seems to be working.
  33. Sisso

    Sisso

    Member

    Joined:
    Sep 29, 2009
    Messages:
    159
    I was dodging the graphic guy to test directly shadow for a week because this problem, you safe the day. Thanks.
  34. tyosk

    tyosk

    New Member

    Joined:
    Aug 23, 2013
    Messages:
    1
    Worked like a charm! Thanks guys.
  35. dan353hehe

    dan353hehe

    New Member

    Joined:
    Aug 24, 2013
    Messages:
    1
    So I'm having the exact same issue I mount the image and run the installer only to have it fail.

    I have tried the above fix using the pkgutil command, the only problem is that the above fix does not seem to be able to extract the files from the installer at all.

    I run `pkgutil --expand /Volumes/Unity\ Installer/Unity.pkg /tmp/Unity.pkg`

    and all i get is:

    Problem extracting file from package: /tmp/Unity.pkg/Unity.pkg/Payload

    My md5 hash of unity-4.2.0.dmg is: 4996e84514f93955a3191852212ec591 which seems to match the version that others have posted.


    Any other ideas?