在安装vc_redist.x64.exe时,出现错误“无法配置每台计算机的MSU程序包". [英] while installing vc_redist.x64.exe, getting error "Failed to configure per-machine MSU package."
问题描述
当我尝试在Windows 8.1上安装vc_redist.x64.exe时 出现以下错误:
While I am trying to install vc_redist.x64.exe on Windows 8.1 getting following error:
无法配置每台计算机的MSU软件包.
Failed to configure per-machine MSU package.
推荐答案
当我在这里找到答案并隐藏在某处的底部时,发布我自己的问题的答案-
Posting answer to my own question as I found it here and was hidden in bottom somewhere -
这是因为操作系统无法安装所需的更新Windows8.1-KB2999226-x64.msu.
This is because the OS failed to install the required update Windows8.1-KB2999226-x64.msu.
但是,您可以通过将该更新解压缩到文件夹(例如XXXX)并执行以下cmdlet来进行安装.您可以在下面找到Windows8.1-KB2999226-x64.msu.
However, you can install it by extracting that update to a folder (e.g. XXXX), and execute following cmdlet. You can find the Windows8.1-KB2999226-x64.msu at below.
C:\ ProgramData \ Package Cache \ 469A82B09E217DDCF849181A586DF1C97C0C5C85 \ packages \ Patch \ amd64 \ Windows8.1-KB2999226-x64.msu
C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu
将此文件复制到您喜欢的文件夹,然后
copy this file to a folder you like, and
在其中创建一个文件夹XXXX,然后从管理命令propmt中执行以下命令
Create a folder XXXX in that and execute following commands from Admin command propmt
wusa.exe Windows8.1-KB2999226-x64.msu/extract:XXXX
wusa.exe Windows8.1-KB2999226-x64.msu /extract:XXXX
DISM.exe/在线/添加包/PackagePath:XXXX\Windows8.1-KB2999226-x64.cab
DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows8.1-KB2999226-x64.cab
vc_redist.x64.exe/修复
vc_redist.x64.exe /repair
(不需要运行最后一个命令.只需再次执行vc_redist.x64.exe)
(last command need not be run. Just execute vc_redist.x64.exe once again)
这对我有用.
这篇关于在安装vc_redist.x64.exe时,出现错误“无法配置每台计算机的MSU程序包".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!