Ordres per instal·lar BlastShield sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i BlastShield.msi /qn /norestartDesar un registre
msiexec /i BlastShield.msi /qn /norestart /l*v "%TEMP%\blastshield-install.log"Desinstal·lar
msiexec /x {6FE4F159-C7E9-40BC-A10C-C117706FC9A0} /qn /norestart- Codi de producte MSI
- {6FE4F159-C7E9-40BC-A10C-C117706FC9A0}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{6FE4F159-C7E9-40BC-A10C-C117706FC9A0}
- UpgradeCode
- {ED23471A-E790-45DA-921C-0FC992E821CA}
- Carpeta d’instal·lació
- %ProgramFiles%\BlastShield Client
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-blastshield.ps1
$url = 'https://dl.blastwave.io/client/BlastShield.msi'
$sha256 = '740316D5B6CDDDDE9E72453E1116235F1F21EB7BF9CE2D75D8EC13FCE952387B'
$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