Microsoft Visual C++ 2015 UWP Runtime Package programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id Microsoft.VCLibs.14 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.VCLibs.14 -e --silentwinget uninstall --id Microsoft.VCLibs.14 -e --silentKurulum dosyasına göre
64 bit · ZIP
Sessiz kurulum
Add-AppxPackage -Path DesktopAppInstaller_Dependencies.zipKaldırma
Get-AppxPackage -Name Microsoft.VCLibs.140.00 | Remove-AppxPackageARM64 · ZIP
Sessiz kurulum
Add-AppxPackage -Path DesktopAppInstaller_Dependencies.zipKaldırma
Get-AppxPackage -Name Microsoft.VCLibs.140.00 | Remove-AppxPackage32 bit · ZIP
Sessiz kurulum
Add-AppxPackage -Path DesktopAppInstaller_Dependencies.zipKaldırma
Get-AppxPackage -Name Microsoft.VCLibs.140.00 | Remove-AppxPackagePowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-microsoft-visual-c-plus-plus-2015-uwp-runtime-package.ps1
$url = 'https://github.com/microsoft/winget-cli/releases/download/v1.12.350/DesktopAppInstaller_Dependencies.zip'
$sha256 = '906CAD3B2BE067D816B20EA4EB1DF541F8A23AC4A4AA9FED70CE675CD918E6A6'
$file = Join-Path $env:TEMP 'DesktopAppInstaller_Dependencies.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-microsoft-visual-c-plus-plus-2015-uwp-runtime-package.ps1
$url = 'https://github.com/microsoft/winget-cli/releases/download/v1.12.350/DesktopAppInstaller_Dependencies.zip'
$sha256 = '906CAD3B2BE067D816B20EA4EB1DF541F8A23AC4A4AA9FED70CE675CD918E6A6'
$file = Join-Path $env:TEMP 'DesktopAppInstaller_Dependencies.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-microsoft-visual-c-plus-plus-2015-uwp-runtime-package.ps1
$url = 'https://github.com/microsoft/winget-cli/releases/download/v1.12.350/DesktopAppInstaller_Dependencies.zip'
$sha256 = '906CAD3B2BE067D816B20EA4EB1DF541F8A23AC4A4AA9FED70CE675CD918E6A6'
$file = Join-Path $env:TEMP 'DesktopAppInstaller_Dependencies.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file