microsoft / unitysetup.powershell

Powershell module for interfacing with Unity installs and projects.
MIT License
178 stars 47 forks source link

Install unity setup package: WriteError exception #223

Open glaporte opened 3 years ago

glaporte commented 3 years ago

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

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

jwittner commented 3 years ago

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?