Polecenia do instalacji programu Vulkan Runtime bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id KhronosGroup.VulkanRT -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KhronosGroup.VulkanRT -e --silentwinget uninstall --id KhronosGroup.VulkanRT -e --silentWedług instalatora
64-bit · EXE
Cicha instalacja
VulkanRT-X64-1.4.363.0-Installer.exe /SARM64 · EXE
Cicha instalacja
VulkanRT-ARM64-1.4.363.0-Installer.exe /SPowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-vulkan-runtime.ps1
$url = 'https://sdk.lunarg.com/sdk/download/1.4.363.0/windows/VulkanRT-X64-1.4.363.0-Installer.exe'
$sha256 = '3F03BDA2522D1D10D05461CE8A47364F9AF6F5DC8642B7C45E43943DBA164303'
$file = Join-Path $env:TEMP 'VulkanRT-X64-1.4.363.0-Installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-vulkan-runtime.ps1
$url = 'https://sdk.lunarg.com/sdk/download/1.4.363.0/warm/VulkanRT-ARM64-1.4.363.0-Installer.exe'
$sha256 = '302B652DD5C952077D8B20726F31CD4CABB6541A5A3F0BF7F8AA80099DF8BA5A'
$file = Join-Path $env:TEMP 'VulkanRT-ARM64-1.4.363.0-Installer.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait