Help with fixing game packaging issue

Hello. So I saw some similar posts here on game packaging issues, but none that had the specific issues I have, so here goes. Below is the error I got from Unreal when I tried to package a very basic game:

**
UATHelper: Packaging (Windows): ********** BUILD COMMAND STARTED **********

UATHelper: Packaging (Windows): Running: C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe “C:\Program Files\Epic Games\UE_5.2\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” galvez5_2 Win64 Shipping -Project=E:\Unreal\U\U5.2\GALVEZ\galvez5_2.uproject E:\Unreal\U\U5.2\GALVEZ\galvez5_2.uproject -NoUBTMakefiles -remoteini=“E:\Unreal\U\U5.2\GALVEZ” -skipdeploy -Manifest=E:\Unreal\U\U5.2\GALVEZ\Intermediate\Build\Manifest.xml -NoHotReload -log="C:\Users\ozguz\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+U

E_5.2\UBT-galvez5_2-Win64-Shipping.txt"

UATHelper: Packaging (Windows): Log file: C:\Users\ozguz\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-galvez5_2-Win64-Shipping.txt

UATHelper: Packaging (Windows): Visual Studio 2022 is installed, but is missing the C++ toolchain. Please verify that the “MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest)” component is selected in the Visual Studio 2022 installation options.

UATHelper: Packaging (Windows): Visual Studio 2022 x64 must be installed in order to build this target.

UATHelper: Packaging (Windows): Took 1.0137148999999999s to run dotnet.exe, ExitCode=6

UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\ozguz\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.2\UBT-galvez5_2-Win64-Shipping.txt)

UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 3s

UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)

UATHelper: Packaging (Windows): BUILD FAILED
**

This is not the first time I’ve tried to package a game- the first time, I tried to install some things as it asked, and I’d like to think that some of what is required was installed, but it looks like not all of it. Hoping someone could point me in the right direction here- it may be that I just have to install Visual Studio correctly, so perhaps just a link or instructions on how to do this would help me fix this.

Update: I did some looking, and I suspect that this page may help me properly install Visual Studio for Unreal: