Příkazy pro instalaci programu BlastShield bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id BlastWave.BlastShield -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BlastWave.BlastShield -e --silentwinget uninstall --id BlastWave.BlastShield -e --silentPodle instalátoru
64bit · MSI · Všichni uživatelé · en-US
Tichá instalace
msiexec /i BlastShield.msi /qn /norestartZapsat protokol
msiexec /i BlastShield.msi /qn /norestart /l*v "%TEMP%\blastshield-install.log"Odinstalace
msiexec /x {D8839203-4D19-4694-8E48-FDCAB62E2C4D} /qn /norestart- Kód produktu MSI
- {D8839203-4D19-4694-8E48-FDCAB62E2C4D}
- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D8839203-4D19-4694-8E48-FDCAB62E2C4D}
- UpgradeCode
- {ED23471A-E790-45DA-921C-0FC992E821CA}
- Instalační složka
- %ProgramFiles%\BlastShield Client
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-blastshield.ps1
$url = 'https://dl.blastwave.io/client/BlastShield.msi'
$sha256 = '513FCEA4A55C89369483EED9DE2BD71620D3578868D64B125D8885FF91AFEC50'
$file = Join-Path $env:TEMP 'BlastShield.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait