I'm trying to install my toolchain in a docker container on a windows 2016 server VM but everything is failing to install and gives a random error code. I am using Chocolatey to install these tools but I have attempted to download the exe directly and run it however nothing happens and has an exit code of 0.
Python Output from Chocolatey when attempting to runchoco install python -y
:
My build environment is Windows 19041 running a Windows Hyper-V
Server 2016 VM
(Windows 10[host] -> Server 2016[VM] -> Docker
). I've tried to search the issue and reviewed the logs but nothing I can find is working.
To make this even more confusing, it works on Windows Server 2022 Preview but not for 2019 or 2016.
Error message:
ERROR: Running ["C:\ProgramData\chocolatey\lib\python3\tools\python-3.9.6-amd64.exe" /quiet InstallAllUsers=1 PrependPath=1 TargetDir="C:\Python39" ] was not successful. Exit code was '-1073741511'. See log for possible error messages.
The install of python3 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\python3\tools\chocolateyInstall.ps1'.
See log for details.