diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index a1e525be..e38ef7d6 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -36,9 +36,9 @@ jobs: Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1 git config --system core.longpaths true $PSVersionTable.PSVersion - # Invoke-WebRequest -Uri 'https://aka.ms/vs/17/release/vs_community.exe' -OutFile 'vs_community.exe' - # .\vs_community.exe --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.VC.ATLMFC --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --includeRecommended - # Get-ChildItem -Path 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\' + Invoke-WebRequest -Uri 'https://aka.ms/vs/17/release/vs_community.exe' -OutFile 'vs_community.exe' + .\vs_community.exe --installPath 'C:\Program Files\Microsoft Visual Studio\' --passive --norestart --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.VC.ATLMFC --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --includeRecommended + Get-ChildItem -Path 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\' # - name: Modifying the registry # shell: powershell # run: |-