Hi @JustGentle ,
Do you mean you first installed v17.2.6 and it worked well, after that you installed v17.4.0, but since then VS 2022 v17.4.0 and VS Installer crashed?
If so, I suspect there are some conflicts. Does VS 2022 v17.2.6 still exist on your machine?
If it(VS 2022 v17.2.6) was removed, then you can try to reinstall VS. To reinstall VS, you need to uninstall it. Since VS Installer doesn’t work, you can use two methods to uninstall it, one is using InstallCleanup.exe tool(it is always located at %ProgramFiles(x86)%\Microsoft Visual Studio, see this document: Remove all with InstallCleanup.exe for more details). The other is manually removing VS. You need to remove following folders: C:\Program Files\Microsoft Visual Studio
, the layout folder and perhaps this folder(if it exists): %programdata%\Microsoft\visualstudio\packages
. And then please remove following Registry Keys(back up the Registry first just in case, and remove them carefully as Registry Keys are very important): HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VisualStudio\Setup
, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup
. After successfully removing VS, you can then retry installing it.
If it(VS 2022 v17.2.6) still exists on your machine, probably there are some conflicts. Since there’s only one VS Installer on your machine and it crashed, you may need to follow steps above to uninstall one of them or both of them and then reinstall the specific version of VS again.(BTW, if you just need to update the offline installed VS, you don’t need to install a new version of VS 2022, you just need to update the layout and then update VS 2022 in VS Installer)
Feel free to let me know if above suggestions work for you.
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.