IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> C++知识库 -> Vivado 2021.2 Tcl Shell no appropriate Visual C++ redistributable error -> 正文阅读

[C++知识库]Vivado 2021.2 Tcl Shell no appropriate Visual C++ redistributable error

In Windows 11, start?Vivado 2021.2 Tcl Shell:

ERROR: This host does not have the appropriate Microsoft Visual C++
? ? ? ?redistributable packages installed.

? ? ? ?Launching installer: "F:/Xilinx/Vivado/2021.2\tps\win64\xvcredist.exe"

It will launch the installer, but the installation will fail with error code 0x80070666 because I have already installed another version of this product:

?The contents of the log file are:

[5C60:1AA4][2022-06-27T15:59:31]i001: Burn v3.10.4.4718, Windows v10.0 (Build 22000: Service Pack 0), path: C:\Users\Yihua\AppData\Local\Temp\{0B5F199F-F6F9-432B-ABB6-1D3367BCC360}\.cr\vcredist_x64.exe
[5C60:1AA4][2022-06-27T15:59:31]i009: Command Line: '-burn.clean.room=f:\xilinx\vivado\2021.2\tps\win64\vcredist_x64.exe -burn.filehandle.attached=604 -burn.filehandle.self=752'
[5C60:1AA4][2022-06-27T15:59:31]i000: Setting string variable 'WixBundleOriginalSource' to value 'f:\xilinx\vivado\2021.2\tps\win64\vcredist_x64.exe'
[5C60:1AA4][2022-06-27T15:59:31]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'f:\xilinx\vivado\2021.2\tps\win64\'
[5C60:1AA4][2022-06-27T15:59:31]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\Yihua\AppData\Local\Temp\dd_vcredist_amd64_20220627155931.log'
[5C60:1AA4][2022-06-27T15:59:31]i000: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.29.30133'
[5C60:1AA4][2022-06-27T15:59:31]i000: Setting string variable 'WixBundleManufacturer' to value 'Microsoft Corporation'
[5C60:443C][2022-06-27T15:59:31]i000: Setting version variable 'WixBundleFileVersion' to value '14.29.30133.0'
[5C60:1AA4][2022-06-27T15:59:31]i100: Detect begin, 11 packages
[5C60:1AA4][2022-06-27T15:59:31]i000: Setting string variable 'Arm64_Check' to value 'AMD64'
[5C60:1AA4][2022-06-27T15:59:31]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.22000.1'
[5C60:1AA4][2022-06-27T15:59:31]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1
[5C60:1AA4][2022-06-27T15:59:31]i102: Detected related bundle: {2d507699-404c-4c8b-a54a-38e352f32cdd}, type: Upgrade, scope: PerMachine, version: 14.32.31326.0, operation: Downgrade
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition '(VersionNT = v6.3 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition '(VersionNT = v6.3 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition '(VersionNT = v6.2 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition '(VersionNT = v6.2 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition '(VersionNT = v6.1 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition '(VersionNT = v6.1 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition '(VersionNT = v6.0 AND NOT VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition '(VersionNT = v6.0 AND VersionNT64) AND (windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10240.0)' evaluates to false.
[5C60:1AA4][2022-06-27T15:59:31]i103: Detected related package: {C96241EA-9900-4FE8-85B3-1E238D509DF6}, scope: PerMachine, version: 14.32.31326.0, language: 0 operation: Downgrade
[5C60:1AA4][2022-06-27T15:59:31]i103: Detected related package: {38624EB5-356D-4B08-8357-C33D89A5C0C5}, scope: PerMachine, version: 14.32.31326.0, language: 0 operation: Downgrade
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: Windows81_x86, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: Windows81_x64, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: Windows8_x86, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: Windows8_x64, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: vcRuntimeMinimum_x64, state: Obsolete, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: vcRuntimeAdditional_x64, state: Obsolete, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i101: Detected package: vcRuntime_arm64, state: Absent, cached: None
[5C60:1AA4][2022-06-27T15:59:31]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[5C60:1AA4][2022-06-27T15:59:31]i199: Detect complete, result: 0x0
[5C60:443C][2022-06-27T16:02:17]i000: Setting numeric variable 'EulaAcceptCheckbox' to value 1
[5C60:443C][2022-06-27T16:02:17]e000: Error 0x80070666: Cannot install a product when a newer version is installed.

I have installed Microsoft Visual Studio 2022 on my computer, so I have installed Microsoft Visual C++ 2015-2022 Redistributable (x86) and Microsoft Visual C++ 2015-2022 Redistributable (x64) before. Look into?F:\Xilinx\Vivado\2021.2\bin\loader.bat, I found

set XVREDIST=%RDI_APPROOT%\tps\%RDI_PLATFORM%\xvcredist.exe
if not [%XIL_PA_NO_REDIST_CHECK%] == [1] (
  if exist "%XVREDIST%" (
    "%XVREDIST%" -check
    if [!ERRORLEVEL!] == [1] (
      echo.
      echo ERROR: This host does not have the appropriate Microsoft Visual C++
      echo        redistributable packages installed.
      echo.
      if not [%RDI_BATCH_MODE%] == [True] (
        echo        Launching installer: "%XVREDIST%"
	"%XVREDIST%"
        if not [!ERRORLEVEL!] == [0] (
	  pause
          set RDI_EXIT=True
          goto :EOF
        )
      ) else (
        echo        To install the required packages run:
        echo        "%XVREDIST%"
        set RDI_EXIT=True
        goto :EOF
      )
    )
  )
)

So I tried to delete?F:\Xilinx\Vivado\2021.2\tps\win64\xvcredist.exe and re-launch?Vivado 2021.2 Tcl Shell, but it shows 0xc0000022:

At this time we know what the problem is. Undo the deletion, run Vivado 2021.2 Tcl Shell as Administrator:

The problem is solved.?

  C++知识库 最新文章
【C++】友元、嵌套类、异常、RTTI、类型转换
通讯录的思路与实现(C语言)
C++PrimerPlus 第七章 函数-C++的编程模块(
Problem C: 算法9-9~9-12:平衡二叉树的基本
MSVC C++ UTF-8编程
C++进阶 多态原理
简单string类c++实现
我的年度总结
【C语言】以深厚地基筑伟岸高楼-基础篇(六
c语言常见错误合集
上一篇文章      下一篇文章      查看所有文章
加:2022-07-03 10:32:27  更:2022-07-03 10:33:49 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年11日历 -2024/11/23 17:14:03-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码