简体   繁体   English

将最新的 Visual Studio 安装到 Windows 7 - 安装程序退出且没有错误或警告

[英]Installing latest Visual Studio to Windows 7 - Setup exits with no errors or warnings

I have been forced to work on an online compiler ( http://cpp.sh/ ).我被迫使用在线编译器( http://cpp.sh/ )。 Yikes... But, still, it is something!哎呀......但是,它仍然是一些东西!

It is a bit difficult to get windows 10 because of all the programs I will have to reinstall.获得 windows 10 有点困难,因为我必须重新安装所有程序。 I know it is a long shot - I was hoping someone might have had the same problem here and knows the solution.我知道这是一个长镜头 - 我希望有人可能在这里遇到同样的问题并且知道解决方案。

What happens is I download the proper file from the official site.发生的事情是我从官方网站下载了正确的文件。 As soon as I execute it (as admin), a window pops up showing that something is loading and some files are being created at programfiles(x 86)\Microsoft Visual Studio.一旦我执行它(以管理员身份),就会弹出一个 window 显示正在加载的内容,并且正在程序文件(x 86)\Microsoft Visual Studio 中创建一些文件。 After that it exits with no errors/warnings.之后它会退出而没有错误/警告。 If I execute again the same loading screen appears but the loading seems to be at 100% from the start (presumably because the files have already been created?).如果我再次执行相同的加载屏幕,但加载似乎从一开始就达到了 100%(大概是因为文件已经创建?)。 After 5 to 10 seconds the same happens - setup exits with no errors/warnings. 5 到 10 秒后,同样的情况发生 - 安装程序退出,没有错误/警告。

If anyone has any idea what is going on.. well help me?如果有人知道发生了什么..那么帮助我吗? I found a ton of incidents about windows 7 installation problems but none without error messages我发现了很多关于 windows 7 安装问题的事件,但没有一个没有错误消息

Installing latest Visual Studio to Windows 7 - Setup exits with no errors or warnings将最新的 Visual Studio 安装到 Windows 7 - 安装程序退出且没有错误或警告

It is quite abnormal and please try these steps:非常不正常,请尝试以下步骤:

1) run cmd as administrator and then type: net stop winmgmt 1) 以管理员身份运行 cmd 然后输入: net stop winmgmt

2) Open a Windows Explorer and locate the path to C:\windows\system32\WBEM\ folder and rename the Repository folder to something else like RepositoryOLD . 2) 打开 Windows Explorer 并找到C:\windows\system32\WBEM\文件夹的路径,并将Repository文件夹重命名为RepositoryOLD之类的其他名称。

3) run cmd as administrator and then run winmgmt /resetRepository . 3) 以管理员身份运行 cmd 然后运行winmgmt /resetRepository

4) completely deleting the entire VisualStudio folder from the registry --> HKEY_CURRENT_USER/Software/VisualStudio 4) 从注册表中彻底删除整个VisualStudio文件夹 --> HKEY_CURRENT_USER/Software/VisualStudio

5) then restart PC and test again. 5)然后重新启动PC并再次测试。

6) If there are any OS updates or any Windows 7 patches, please install them in case there are some fixes. 6) 如果有任何操作系统更新或任何 Windows 7 补丁,请安装它们以防有一些修复。

Hope it could help you.希望它可以帮助你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 这些Visual Studio 2010错误和警告的原因是什么? - What is the cause of these Visual Studio 2010 errors & warnings? 在 Windows 10 上安装 Visual Studio 6 - Installing visual studio 6 on windows 10 Visual Studio上的CRT SECURE警告/错误有何处理? - What's the deal with the CRT SECURE warnings/errors on visual studio? 如何在Windows上为visual studio 2005设置wxwidgets - how to setup wxwidgets on windows for visual studio 2005 在 Visual Studio 中在 Windows 上安装 MPIR 时遇到问题? - Having problems installing MPIR on Windows in Visual Studio? 在Windows上使用Visual Studio安装WebOS PDK - Installing webOS PDK on Windows with Visual Studio 以 Visual Studio 为目标的 Windows XP 的最新 C++ 标准是什么? - What is the latest C++ standard to target Windows XP with Visual Studio? 带OpenCV的Visual Studio:即使程序退出后,我也可以保持图像窗口打开吗? - Visual Studio with OpenCV: Can I keep the image windows open even after program exits? 使用 Visual Studio 2017 为 Windows 设置 GRPC CPP - GRPC CPP Setup for Windows using Visual Studio 2017 如何使用 Visual Studio 2022 和 CMake 在 Windows 10 上设置 SFML? - How to setup SFML on Windows 10 with Visual Studio 2022 and CMake?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM