Kommandon för att installera Blockwork 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 Blockworked.Blockwork -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Blockworked.Blockwork -e --silentwinget uninstall --id Blockworked.Blockwork -e --silentPer installationsfil
64-bitars · EXE (Inno Setup)
Tyst installation
blockwork-windows-x86_64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
blockwork-windows-x86_64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\blockwork"ARM64 · EXE (Inno Setup)
Tyst installation
blockwork-windows-arm64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
blockwork-windows-arm64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\blockwork"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-blockwork.ps1
$url = 'https://github.com/Blockworked/Blockwork/releases/download/0.5.4/blockwork-windows-x86_64-setup.exe'
$sha256 = 'E2E366B9D4FCB6B82A5A272A15D31AC60F08284DC3E13E63B0B406DC4E3BC8CE'
$file = Join-Path $env:TEMP 'blockwork-windows-x86_64-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-blockwork.ps1
$url = 'https://github.com/Blockworked/Blockwork/releases/download/0.5.4/blockwork-windows-arm64-setup.exe'
$sha256 = '12EC19A90B255EB9F367B00DF933B3CD801BE18E445CCF45ADF1FD96B22E3B17'
$file = Join-Path $env:TEMP 'blockwork-windows-arm64-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait