Kommandon för att installera flow 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 MadrasCheck.flow -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MadrasCheck.flow -e --silentwinget uninstall --id MadrasCheck.flow -e --silentPer installationsfil
32-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
flow-2.8.6-setup.exe /SEgen mapp
flow-2.8.6-setup.exe /S /D=C:\Apps\flow- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\c7bd5906-16c8-5828-857a-5d6f769786b3
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-flow.ps1
$url = 'https://flownew.s3.ap-northeast-2.amazonaws.com/flow-2.8.6-setup.exe'
$sha256 = 'E0E02CABD0A89AB4E69DB40C08AF6932F2DD905547603CF70217D5BB3E6CB540'
$file = Join-Path $env:TEMP 'flow-2.8.6-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 '/S' -Wait