【发布时间】:2023-03-04 21:37:01
【问题描述】:
我正在尝试通过 Web 安装程序在我的 Windows 7 笔记本电脑上安装 Visual Studio 2017 Community,但它失败了,返回了这个日志:
dd_setup_..._error.log(我翻译成英文,因为它是德文)
Package "WindowsUpdates.KB2533623,version=15.0.26711.1,chip=x64" could not be installed.
Search-URL
https://aka.ms/VSSetupErrorReports?q=PackageId=WindowsUpdates.KB2533623;PackageAction=Install;ReturnCode=1168
Details
Command executed: "C:\Windows\system32\dism.exe" /online /quiet /norestart /add-package /packagepath:"C:\Users\User\AppData\Local\Temp\462b07d7-22c4-4fb6-8bd8-78e9e210c711\Windows6.1-KB2533623-x64.cab" /logPath:"C:\Users\User\AppData\Local\Temp\dd_setup_20170916213606_141_WindowsUpdates.KB2533623.log"
Code returned: 1168
Codedetails returned: Element not found.
我的笔记本电脑上没有安装 KB2533623,所以我尝试自己安装 KB2533623 x64,但它以“更新不适用于您的计算机”字样拒绝。
经过一番研究,我找到了声称KB2533623 is superseded by KB2758857 的 SCCMENTOR,所以我首先尝试卸载 KB2758857。出现错误,我无法卸载所有更新。在本地系统 CMD 中使用 wusa /uninstall /kb:2758857 重复该步骤返回 0x80070490。 Microsoft suggests to scan the system for corrupt files with sfc /scannow,所以我做到了。它发现了一些错误并修复了它们。
我重复了wusa /uninstall /kb:2758857,它返回了 0x80070bc9。然后我重新启动并再次尝试,它再次给了我 0x80070490。
我不确定我是否走在正确的道路上,也许 KB2533623 不是这里的问题。如何解决此问题,以便 Visual Studio 安装程序能够安装套件中许多组件所需的 KB2533623?如果 KB2533623 真的被 KB2758857 取代,如果我的笔记本电脑上已经安装了 KB2758857,为什么安装程序会尝试安装 KB2533623?
【问题讨论】:
-
从 C:\Windows\Logs 共享 DISM.log 和 CBS.log
-
@magicandre1981 这是我当前的 dism.log:dropbox.com/s/o1vl0a919e6dtu4/dism.log?dl=0
-
@HarryJohnston 感谢您指出这一点。很高兴看到 MS 没有忽视这个问题,但是我需要找到一种解决方法,因为我的笔记本电脑上需要 Visual Studio 2017,否则我无法继续我的旅行工作。
-
您总是会错过驱动程序的某些部分(来自 C:\Windows\Inf 的 inf 文件)。重新安装所有驱动程序,看看会发生什么。
标签: windows-7 visual-studio-2017 windows-update vsinstaller