Kommandon för att installera SuperTextToolBox 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 Buger.SuperTextToolBox -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Buger.SuperTextToolBox -e --silentwinget uninstall --id Buger.SuperTextToolBox -e --silentPer installationsfil
32-bitars · EXE (NSIS)
Tyst installation
Setup.exe /SEgen mapp
Setup.exe /S /D=C:\Apps\supertexttoolboxPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-supertexttoolbox.ps1
$url = 'https://github.com/Qibowen2008/SuperTextToolBox/releases/download/2.5.18/Setup.exe'
$sha256 = '3509A030A5E0C317D584FCA1ACC0D842FE26D19708761174765ED384D84B7870'
$file = Join-Path $env:TEMP '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