From 80e2954c2b318229f8074ef6b9cd4c97436bbf95 Mon Sep 17 00:00:00 2001 From: Mika3578 <58137747+Mika3578@users.noreply.github.com> Date: Sun, 23 Nov 2025 22:55:38 +0100 Subject: [PATCH] Fix MFC installer path in CI workflow --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9446090..4ee7190e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,12 @@ jobs: return } - &"$vsPath\Common7\IDE\vs_installer.exe" modify --installPath "$vsPath" --add Microsoft.VisualStudio.Component.VC.ATLMFC --quiet --norestart --nocache + $installerPath = "C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installer.exe" + if (-not (Test-Path $installerPath)) { + throw "Visual Studio installer not found at expected path: $installerPath" + } + + &"$installerPath" modify --installPath "$vsPath" --add Microsoft.VisualStudio.Component.VC.ATLMFC --quiet --norestart --nocache - name: Build solution working-directory: ${{ github.workspace }}\srchybrid