unitysetup.powershell icon indicating copy to clipboard operation
unitysetup.powershell copied to clipboard

Install unity setup package: WriteError exception

Open glaporte opened this issue 3 years ago • 1 comments

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.

glaporte avatar Apr 06 '21 07:04 glaporte

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?

jwittner avatar Jul 06 '21 20:07 jwittner