Skip to content

Install unity setup package: WriteError exception  #223

Open

Description

@glaporte

Hello on a docker windowsservercore machine i have this error when i try to install Unity Editor with this command line:

RUN ["powershell", "Install-UnitySetupInstance", "-Installers (Find-UnitySetupInstaller -Version '2019.1.1f1' -Components 'Windows')", "-Verbose"]

output:
``VERBOSE: 04/06/2021 08:54:58: Installing Windows to C:\Program
Files\Unity\Hub\Editor\2019.1.1f1.
Install-UnitySetupPackage : 04/06/2021 08:54:59: Failed with exit code:
-1073741511
At C:\Users\ContainerAdministrator\Documents\WindowsPowerShell\Modules\UnitySet
up\5.4.140\UnitySetup.psm1:1075 char:17

  • ... Install-UnitySetupPackage -Package $editorInstaller -Dest ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
      tion
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
      n,Install-UnitySetupPackage``

I have no idea how to get more informations.
If anyone could help, thank you.

Activity

  1. jwittner commented on Jul 6, 2021

    @jwittner
    Member

    That log Install-UnitySetupPackage : 04/06/2021 08:54:59: Failed with exit code: -1073741511 looks to be written from the results of our call to Start-Process with the Windows installer.

    Not sure what the exit code from the Unity installer means unfortunately.

    Sorry for the delay, for some reason all my notifications for this repo got disabled, any progress since posting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions