Příkazy pro instalaci programu Bugs 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 NHNBugs.Bugs -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NHNBugs.Bugs -e --silentwinget uninstall --id NHNBugs.Bugs -e --silentPodle instalátoru
32bit · EXE (NSIS)
Tichá instalace
BugsSetup.exe /SVlastní složka
BugsSetup.exe /S /D=C:\Apps\bugsPowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-bugs.ps1
$url = 'https://dl.bugsm.co.kr/BugsPlayer4/BugsSetup.exe'
$sha256 = '550FC8D112C8FA7D22937CBC086212CDF2E16E84CBA355210EFBDA450EE6196B'
$file = Join-Path $env:TEMP 'BugsSetup.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