Kommandon för att installera Envoy 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 LXBStudio.Envoy -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LXBStudio.Envoy -e --silentwinget uninstall --id LXBStudio.Envoy -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
Envoy-v1.1.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Envoy-v1.1.0-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\envoy"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E613459F-AA63-461E-ACDD-710C6F67FFE2}_is1
- DisplayVersion
- 1.1.0
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-envoy.ps1
$url = 'https://github.com/LXBStudioLLC/envoy/releases/download/v1.1.0/Envoy-v1.1.0-setup.exe'
$sha256 = '43026FB740A11C080853EBBC84CD17F931F136681C11C29647233C5481DBF88C'
$file = Join-Path $env:TEMP 'Envoy-v1.1.0-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