使用WinGet安裝所有VC++運行庫


WinGet (Windows Package Manager 客戶端)

微軟開源 Windows 軟件包管理器

主頁:https://github.com/microsoft/winget-cli

軟件"倉庫":https://github.com/microsoft/winget-pkgs

系統要求:Windows 10 1709(內部版本16299)或更高版本

安裝方式見README

 

WinGet使用方法

 

使用winget show 可列出所有包列表

使用winget search Microsoft.VC++ 來列出所有VC運行庫

 

例如要安裝 Microsoft Visual C++ 2005 Redistributable (x86)

那么就復制相應的ID

使用 winget install Microsoft.VC++2005Redist-x86 安裝它

 

其它同理

 

方法二

進入倉庫

https://github.com/microsoft/winget-pkgs/tree/master/manifests/Microsoft

找到相應的 描述文件 

https://github.com/microsoft/winget-pkgs/blob/master/manifests/Microsoft/VC%2B%2B2005Redist-x86/8.0.61001.yaml

其中URL就是下載地址了!

 1 Id: Microsoft.VC++2005Redist-x86
 2 Version: 8.0.61001
 3 Name: Microsoft Visual C++ 2005 Redistributable (x86)
 4 Publisher: Microsoft Corporation
 5 License: Copyright (c) Microsoft Corporation
 6 Tags: visual c++, redist
 7 Description: The Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) installs runtime components of Visual C++ Libraries required to run 32-bit applications developed with Visual C++ 2005 SP1 on a computer that does not have Visual C++ 2005 SP1 installed.
 8 Installers:
 9   - Arch: x86
10  Url: https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.exe 11     Sha256: 4ee4da0fe62d5fa1b5e80c6e6d88a4a2f8b3b140c35da51053d0d7b72a381d29
12     InstallerType: exe
13     Switches:
14       Custom: /q

 

方法三:

通過微軟下載中心下載

https://www.cnblogs.com/iblackly/p/12959870.html

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM