Closed dd-mozdemir closed 1 year ago
The line you point to is simply calling the actual the VS installation program.
The official VS 2017 system requirements page does not list Server 2022 as supported, so we may be in uncharted territory there. (Although it does work on Server 2019, even though this version is also not listed.)
I suggest you examine the numerous log files the VS installer generates in $Env:TEMP\chocolatey
(named dd_*.log
). There you will be able to see what the installer was doing and there may be some clues as to what it may be waiting for.
Closing due to inactivity.
Hi everyone,
I was trying to install this on a Windows Server 2022 docker container
mcr.microsoft.com/dotnet/framework/runtime:4.8-windowsservercore-ltsc2022
usingdocker build
and it appears that the script gets stuck here indefinitely:The culprit appears to be at this line.
The odd thing is that if I run that container with
docker run
and install it manually it works fine, it only gets stuck when installed withdocker build
like it is waiting for something.This issue does not happen at all on windows server 2019-based images.