The Shared Path Cannot Be Modified During Visual Studio Installation

The path for 共享组件、工具和SDK cannot be changed.

You can fix this by deleting the registry key. The registry path is:

计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup

Just right-click SharedInstallationPath and CachePath and delete them.