-
Notifications
You must be signed in to change notification settings - Fork 62
/
_1_2_Install_VisualStudio.bat
35 lines (24 loc) · 1.32 KB
/
_1_2_Install_VisualStudio.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
cd InstallationTools
echo Installing Visual Studio 2022...
rem https://learn.microsoft.com/zh-cn/visualstudio/install/workload-component-id-vs-community?view=vs-2022
rem https://learn.microsoft.com/zh-cn/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2022
vs_Community.exe --wait --addProductLang En-us ^
--add Microsoft.VisualStudio.Component.Windows11SDK.22621 ^
--add Microsoft.VisualStudio.Component.VC.14.38.17.8.x86.x64 ^
--add Microsoft.VisualStudio.Component.VC.14.38.17.8.x86.x64.Spectre ^
--add Microsoft.VisualStudio.Component.VC.14.38.17.8.CLI.Support ^
--add Microsoft.VisualStudio.Component.VC.14.38.17.8.ATL ^
--add Microsoft.VisualStudio.Component.VC.14.38.17.8.MFC ^
--add Microsoft.VisualStudio.Workload.ManagedDesktop ^
--add Microsoft.VisualStudio.Workload.NativeDesktop ^
--add Microsoft.VisualStudio.Workload.NativeGame ^
--add Microsoft.VisualStudio.Workload.Universal ^
--add Microsoft.NetCore.Component.Runtime.6.0 ^
--add Microsoft.Net.Component.4.6.2.TargetingPack
rem --quiet --norestart
echo Visual Studio 2022 installed successfully!
rem echo Setting up Visual Studio 2022 for Unreal Engine 5...
rem "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
rem echo Visual Studio 2022 setup complete!
pause