Kommandon för att installera Ternix 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 Ternix.Ternix -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Ternix.Ternix -e --silentwinget uninstall --id Ternix.Ternix -e --silentPer installationsfil
64-bitars · EXE (NSIS) · en-US
Tyst installation
Ternix.Setup.1.0.0.exe /SEgen mapp
Ternix.Setup.1.0.0.exe /S /D=C:\Apps\ternixPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-ternix.ps1
$url = 'https://github.com/PraneethReddy-github/ternix/releases/download/v1.0.0/Ternix.Setup.1.0.0.exe'
$sha256 = '458685AF156A5209E0A3F23068F5262C0237E848B4C28D54890E28D5DC920514'
$file = Join-Path $env:TEMP 'Ternix.Setup.1.0.0.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