Windows SDK 8安装失败的绕坑办法

查看安装log文件,有如下错误:

visual studio 2013安装失败
补充:
log中有:
[1470:274C][2015-04-07T10:53:44]i000: MUX: ExecuteError: Package (vs_devenv) failed: Error Message Id: 1406 ErrorMessage: Could not write value devenv.exe to key SOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_BLOCK_CROSS_PROTOCOL_FILE_NAVIGATION. Verify that you have sufficient access to that key, or contact your support personnel.
[2E34:1A84][2015-04-07T10:53:45]e000: Error 0x80070643: Failed to install MSI package.
[2E34:1A84][2015-04-07T10:53:45]e000: Error 0x80070643: Failed to execute MSI package.
[1470:274C][2015-04-07T10:53:45]e000: Error 0x80070643: Failed to configure per-machine MSI package.
提示我没有写入注册表SOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_BLOCK_CROSS_PROTOCOL_FILE_NAVIGATION的权限,但是我找不到这条注册表
图片 1

系统是win7 64,也有装Windows6.1-KB2670838-x64.msu 补丁。

图片 2
log文件如下:
2015-04-07T10:53:42]i000: MUX: ExecuteError: Package (vs_devenv) failed: Error Message Id: 1406 ErrorMessage: Could not write value devenv.exe to key SOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_BLOCK_CROSS_PROTOCOL_FILE_NAVIGATION. Verify that you have sufficient access to that key, or contact your support personnel.
[2E34:1A84][2015-04-07T10:53:43]e000: Error 0x80070643: Failed to install MSI package.
[2E34:1A84][2015-04-07T10:53:43]e000: Error 0x80070643: Failed to execute MSI package.
[1470:274C][2015-04-07T10:53:43]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[1470:274C][2015-04-07T10:53:43]i000: MUX: Installation size in bytes for package: vs_devenv MaxAppDrive: 0 MaxSysDrive: 1675264 AppDrive: 0 SysDrive: 622592
[1470:274C][2015-04-07T10:53:43]i000: MUX: Return Code:0x80070643 Msi Messages:1406 Result Detail:0 Restart:None
[1470:274C][2015-04-07T10:53:44]i000: MUX: Unregistering and registering msiexec.
[1470:274C][2015-04-07T10:53:44]i000: MUX: Executing Process: Exe:C:Windowssystem32msiexec.exe Arguments:/unreg
[1470:274C][2015-04-07T10:53:44]i000: MUX: Process exit code: 0
[1470:274C][2015-04-07T10:53:44]i000: MUX: Executing Process: Exe:C:Windowssystem32msiexec.exe Arguments:/regserver
[1470:274C][2015-04-07T10:53:44]i000: MUX: Process exit code: 0
[1470:274C][2015-04-07T10:53:44]i000: MUX: Retrying the package again
[1470:274C][2015-04-07T10:53:44]w348: Application requested retry of package: vs_devenv, encountered error: 0x80070643. Retrying...
[2E34:1A84][2015-04-07T10:53:44]i301: Applying execute package: vs_devenv, action: Install, path: C:ProgramDataPackage Cache{B6A0A174-33E0-3D42-92EA-547D318CB149}v12.0.21005packagesvs_devenvvs_devenv.msi, arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" VS7.3643236F_FC70_11D3_A536_0090278A1BB8="c:program files Microsoft Visual Studio 12.0"'
[1470:274C][2015-04-07T10:53:44]i000: MUX: ExecuteError: Package (vs_devenv) failed: Error Message Id: 1406 ErrorMessage: Could not write value devenv.exe to key SOFTWAREMicrosoftInternet ExplorerMainFeatureControlFEATURE_BLOCK_CROSS_PROTOCOL_FILE_NAVIGATION. Verify that you have sufficient access to that key, or contact your support personnel.
[2E34:1A84][2015-04-07T10:53:45]e000: Error 0x80070643: Failed to install MSI package.
[2E34:1A84][2015-04-07T10:53:45]e000: Error 0x80070643: Failed to execute MSI package.
[1470:274C][2015-04-07T10:53:45]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[1470:274C][2015-04-07T10:53:45]i000: MUX: Installation size in bytes for package: vs_devenv MaxAppDrive: 0 MaxSysDrive: 69632 AppDrive: 0 SysDrive: 0
[1470:274C][2015-04-07T10:53:45]i000: MUX: Return Code:0x80070643 Msi Messages:1406 Result Detail:WriteRegistryValues Restart:None
[1470:274C][2015-04-07T10:53:45]i000: MUX: Set Result: Return Code=-2147023293 (0x80070643), Error Message=1406, Result Detail=WriteRegistryValues, Vital=True, Package Action=Install, Package Id=vs_devenv

安装win sdk 8,提示错误:管道正在被关闭。

 

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows KitsInstalled Roots]
"KitsRoot"="C:\Program Files (x86)\Windows Kits\8.0\"

 

最后用了必杀技,从一个正常安装的机器直接拷贝安装后的sdk目录,到有问题的win7机器,例如拷贝C:Program Files (x86)Windows Kits8.0到win7的相应sdk安装目录下(虽然win7上安装失败但还是有些文件残留的,直接覆盖即可)。

本文由澳门新葡亰1495app发布于网络技术,转载请注明出处:Windows SDK 8安装失败的绕坑办法

相关阅读