Polecenia do instalacji programu DeckMaster bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id TheOtterlord.DeckMaster -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id TheOtterlord.DeckMaster -e --silentwinget uninstall --id TheOtterlord.DeckMaster -e --silentWedług instalatora
64-bit · EXE (NSIS)
Cicha instalacja
installer.exe /SWłasny folder
installer.exe /S /D=C:\Apps\deckmasterPowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-deckmaster.ps1
$url = 'https://github.com/TheOtterlord/deckmaster/releases/download/v1.0.2/installer.exe'
$sha256 = '4700BD3071CE634E7EA4185AAF99BE9C59829DA4032ADE4896F9FDD51FACD07E'
$file = Join-Path $env:TEMP 'installer.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