Příkazy pro instalaci programu PowerSetSetup 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 BrocatScript.PowerSetSetup -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BrocatScript.PowerSetSetup -e --silentwinget uninstall --id BrocatScript.PowerSetSetup -e --silentPodle instalátoru
64bit · EXE (Inno Setup)
Tichá instalace
PowerSetSetup_Installer-1.02.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
PowerSetSetup_Installer-1.02.2.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\powersetsetup"PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-powersetsetup.ps1
$url = 'https://github.com/BrocatScript/PowerSetSetup/releases/download/v1.02.2/PowerSetSetup_Installer-1.02.2.exe'
$sha256 = '63F3F8AED617F3A2B6144D7A557AE6B3B72437805AF8CB3A4CB22F08FBD103F7'
$file = Join-Path $env:TEMP 'PowerSetSetup_Installer-1.02.2.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait