Skip to content

Commit

Permalink
Win: add Microsoft.VisualStudio.Component.WinXP
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorsandy committed Sep 10, 2024
1 parent f22140a commit 809414a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
$InstallPath = "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
$ComponentsToAdd= @(
"Microsoft.VisualStudio.Component.VC.140"
"Microsoft.VisualStudio.Component.WinXP"
)
[string]$WorkloadArgs = $ComponentsToAdd | ForEach-Object {" --add " + $_}
$Arguments = ('/c', "vs_installer.exe", 'modify', '--installPath', "`"$InstallPath`"",$WorkloadArgs, '--quiet', '--norestart', '--nocache')
Expand Down
4 changes: 2 additions & 2 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ rem Visual C++ 2019 -vcvars_ver=14.2 Toolset v142 VSVersion 16.11.3 _MSC_VER 192
rem Visual C++ 2022 -vcvars_ver=14.4 Toolset v143 VSVersion 17.11.3 _MSC_VER 1941 - (-vcvars_ver set to 14.4 since VSVersion 17.10)
IF "%LP3D_MSC_VER%" == "" SET LP3D_MSC_VER=1900
IF "%LP3D_VCSDKVER%" == "" SET LP3D_VCSDKVER=8.1
IF "%LP3D_VCTOOLSET%" == "" SET LP3D_VCTOOLSET=v140
IF "%LP3D_VCTOOLSET%" == "" SET LP3D_VCTOOLSET=v140_xp
IF "%LP3D_VCVARSALL_VER%" == "" SET LP3D_VCVARSALL_VER=-vcvars_ver=14.0

IF "%LP3D_VALID_7ZIP%" =="" SET LP3D_VALID_7ZIP=0
Expand Down Expand Up @@ -344,7 +344,7 @@ IF %1==x64 (
)
) ELSE (
SET LP3D_VCSDKVER=8.1
SET LP3D_VCTOOLSET=v140
SET LP3D_VCTOOLSET=v140_xp
SET LP3D_VCVARSALL_VER=-vcvars_ver=14.0
)
ECHO.
Expand Down

0 comments on commit 809414a

Please sign in to comment.