I've attempted to install Visual Studio 2022 multiple times. The installation was at the "Cleanup" stage, then the installer would quit with an error message. Error Code: 1601.
The installation log shows:
Package 'Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x64' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14;PackageAction=Install;ReturnCode=1601
Details
Command executed: "c:\windows\syswow64\\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -Noninteractive -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x64\VCRedistInstall.ps1""" -PayloadDirectory """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x64""" -Architecture x64 -Logfile """C:\Users\userName\AppData\Local\Temp\dd_setup_20240117165747_258_Microsoft.VisualCpp.Redist.14.log"""; exit $LastExitCode"
Return code: 1601
Return code details: The Windows Installer Service could not be accessed. This can occur if the Windows Installer is not correctly installed. Contact your support personnel for assistance.
I chat with Online Support, and they pinpointed it to the installation of the C++ Redistributable package located at C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x64. Manually installing this package from this directory would give the same error about the Windows Installer Service not correctly installed.
I checked this service, and I was able to confirm it was working correctly. It's set to Manual, but does run when an installation starts.
I can install Visual 2019 on the same day without any problems. So, I think there's a problem with the VS2022 installer.
Please let me know how Microsoft is going to address this issue.