Kommandon för att installera WTFast 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 AAAInternetPublishing.WTFast -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AAAInternetPublishing.WTFast -e --silentwinget uninstall --id AAAInternetPublishing.WTFast -e --silentPer installationsfil
32-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
wtfastsetup.5.5.20.exe /VERYSILENT /SUPPRESSMSGBOXESEgen mapp
wtfastsetup.5.5.20.exe /VERYSILENT /SUPPRESSMSGBOXES /DIR="C:\Apps\wtfast"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A44CE492-E2E2-41D7-B683-5F5F034063E9}_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-wtfast.ps1
$url = 'https://download.wtfast.com/product/wtfast/wtfastsetup.5.5.20.exe'
$sha256 = 'F45D0C813E949408767C455B132FCF4F492277579CB7CCBC06628B71DCDC676F'
$file = Join-Path $env:TEMP 'wtfastsetup.5.5.20.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' -Wait