Příkazy pro instalaci programu Vantablack bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id KellerSystems.Vantablack -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KellerSystems.Vantablack -e --silentwinget uninstall --id KellerSystems.Vantablack -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Aktuální uživatel
Tichá instalace
ggn-0.8.0-windows-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTVlastní složka
ggn-0.8.0-windows-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\vantablack"- Klíč odinstalace v registru
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8E98B1C2-824A-4835-B5E3-A5B4C3D2E1F0}_is1
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-vantablack.ps1
$url = 'https://github.com/KELLERBABG/Vantablack/releases/download/v0.8.0/ggn-0.8.0-windows-setup.exe'
$sha256 = 'CF055DB7E9ABDF99C8869057765F5CA189C9910357619524A8A534737D774ACF'
$file = Join-Path $env:TEMP 'ggn-0.8.0-windows-setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART' -Wait