Kommandon för att installera BomberClone 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 SteffenPohle.BomberClone -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SteffenPohle.BomberClone -e --silentwinget uninstall --id SteffenPohle.BomberClone -e --silentPer installationsfil
32-bitars · EXE (NSIS) · en-US
Tyst installation
bomberclone-0.11.9.exe /SEgen mapp
bomberclone-0.11.9.exe /S /D=C:\Apps\bomberclone- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Bomberclone
- Installationsmapp
- %ProgramFiles(x86)%\bomberclone
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-bomberclone.ps1
$url = 'https://www.bomberclone.de/stuff/bomberclone-0.11.9.exe'
$sha256 = 'E2E9CF88F6189406E0E82C3EA561A54C217BA1872BD6321B9E84280C81CAD03F'
$file = Join-Path $env:TEMP 'bomberclone-0.11.9.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