Befehle, um Microsoft Visual C++ Runtime Package (UWP Desktop Bridge) ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Microsoft.VCLibs.12 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.VCLibs.12 -e --silentwinget uninstall --id Microsoft.VCLibs.12 -e --silentNach Installer
64-Bit · ZIP
Stille Installation
Add-AppxPackage -Path vclibs_redist_packages.zipDeinstallation
Get-AppxPackage -Name Microsoft.VCLibs.120.00 | Remove-AppxPackage32-Bit · ZIP
Stille Installation
Add-AppxPackage -Path vclibs_redist_packages.zipDeinstallation
Get-AppxPackage -Name Microsoft.VCLibs.120.00 | Remove-AppxPackageARM · ZIP
Stille Installation
Add-AppxPackage -Path vclibs_redist_packages.zipDeinstallation
Get-AppxPackage -Name Microsoft.VCLibs.120.00 | Remove-AppxPackagePowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-microsoft-visual-c-plus-plus-runtime-package-uwp-desktop-bridge.ps1
$url = 'https://download.microsoft.com/download/5/f/0/5f0f8404-9329-44a9-8176-ed6f7f746f25/vclibs_redist_packages.zip'
$sha256 = 'BB758B8BB0B0042281561AC07CA4984092DA66E58FEBFEF8B57AB85DE8B8D24E'
$file = Join-Path $env:TEMP 'vclibs_redist_packages.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-runtime-package-uwp-desktop-bridge.ps1
$url = 'https://download.microsoft.com/download/5/f/0/5f0f8404-9329-44a9-8176-ed6f7f746f25/vclibs_redist_packages.zip'
$sha256 = 'BB758B8BB0B0042281561AC07CA4984092DA66E58FEBFEF8B57AB85DE8B8D24E'
$file = Join-Path $env:TEMP 'vclibs_redist_packages.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-runtime-package-uwp-desktop-bridge.ps1
$url = 'https://download.microsoft.com/download/5/f/0/5f0f8404-9329-44a9-8176-ed6f7f746f25/vclibs_redist_packages.zip'
$sha256 = 'BB758B8BB0B0042281561AC07CA4984092DA66E58FEBFEF8B57AB85DE8B8D24E'
$file = Join-Path $env:TEMP 'vclibs_redist_packages.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file