Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

OSX Unity Editor "TargeInstaller" Packages fail to install

Discussion in 'Editor & General Support' started by dogboydog, Apr 30, 2018.

  1. dogboydog

    dogboydog

    Joined:
    Nov 23, 2012
    Posts:
    53
    Edit: Sorry about the typo in the title, I meant "TargetInstaller"

    Hi,

    I'm experimenting with trying to setup CICD for my game on Travis following this tutorial:

    https://stablekernel.com/continuous-integration-for-unity-5-using-travisci/

    It seems slightly outdated as I had to use some different base links to get it to work.

    The main Unity.pkg file installs fine ( http://download.unity3d.com/download_unity/9231f953d9d3/MacEditorInstaller/Unity.pkg)

    However, the TargetInstaller files which as I understand it I need to be able to build cross platform get an error when I try to install them.

    One example of a file I am downloading:

    http://download.unity3d.com/downloa...p-Windows-Support-for-Editor-2017.4.1.1f1.pkg

    So I am doing:

    curl -o UnitySetup-Windows-Support-for-Editor-2017.4.1.1f1.pkg [URL]http://download.unity3d.com/download_unity/9231f953d9d3/MacEditorTargetInstaller/UnitySetup-Windows-Support-for-Editor-2017.4.1.1f1.pkg[/URL]
    sudo installer -dumplog -package UnitySetup-Windows-Support-for-Editor-2017.4.1.1f1.pkg -target /


    installer: Error the package path specified was invalid: 'install.pkg'.
    Installation of package MacEditorTargetInstaller/UnitySetup-Windows-Support-for-Editor-2017.4.1.1f1.pkg failed!

    I put something in my scripts to double check that the file exists before trying to install it, and it does exist. I also tried moving the file to "install.pkg" after downloading and attempting to install that in case there's something about the file name that makes it unable to install. That didn't help -- Unity.pkg still installs and the rest still fail to install. So I'm not sure what about the path is invalid and was wondering if anyone had any insight as to why the editor support packages would fail to install
     
  2. dogboydog

    dogboydog

    Joined:
    Nov 23, 2012
    Posts:
    53
    Is there some other way to install support for building on other platforms besides installing these packages? Or any reason that installing them would fail with the invalid path error?