Kommandon för att installera VRCLI utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id kibalab.VRCLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id kibalab.VRCLI -e --silentwinget uninstall --id kibalab.VRCLI -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare · en-US
Tyst installation
VRCLI-0.20.0-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
VRCLI-0.20.0-win-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\vrcli"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-vrcli.ps1
$url = 'https://github.com/kibalab/VRCLI/releases/download/v0.20.0/VRCLI-0.20.0-win-x64-setup.exe'
$sha256 = '498CBA1449EC8C8E80EE6C9BFFB37B52AF9286FB911B55E8B0BFC9B275706F38'
$file = Join-Path $env:TEMP 'VRCLI-0.20.0-win-x64-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 /SP-' -Wait