Befehle, um Microsoft Visual C++ 2015 UWP Runtime Package 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.14 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.VCLibs.14 -e --silentwinget uninstall --id Microsoft.VCLibs.14 -e --silentNach Installer
64-Bit · ZIP
Stille Installation
Add-AppxPackage -Path DesktopAppInstaller_Dependencies.zipDeinstallation
Get-AppxPackage -Name Microsoft.VCLibs.140.00 | Remove-AppxPackageARM64 · ZIP
Stille Installation
Add-AppxPackage -Path DesktopAppInstaller_Dependencies.zipDeinstallation
Get-AppxPackage -Name Microsoft.VCLibs.140.00 | Remove-AppxPackage32-Bit · ZIP
Stille Installation
Add-AppxPackage -Path DesktopAppInstaller_Dependencies.zipDeinstallation
Get-AppxPackage -Name Microsoft.VCLibs.140.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-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