Kommandon för att installera Invoncify 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 AndresMorelos.Invoncify -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AndresMorelos.Invoncify -e --silentwinget uninstall --id AndresMorelos.Invoncify -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
Invoncify-Setup-1.30.4.exe /SEgen mapp
Invoncify-Setup-1.30.4.exe /S /D=C:\Apps\invoncifyPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-invoncify.ps1
$url = 'https://github.com/AndresMorelos/Invoncify/releases/download/v1.30.4/Invoncify-Setup-1.30.4.exe'
$sha256 = '158B4896DD0BC94BB67A266A25312436023182A67A1FDD87102B233EE2B9D42A'
$file = Join-Path $env:TEMP 'Invoncify-Setup-1.30.4.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