Příkazy pro instalaci programu ShiftPad 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 ShiftPad.ShiftPad -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ShiftPad.ShiftPad -e --silentwinget uninstall --id ShiftPad.ShiftPad -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Všichni uživatelé · en-US
Tichá instalace
ShiftPad-Setup-2.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
ShiftPad-Setup-2.2.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\shiftpad"- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4D9F0E5B-7C2A-4B8E-9D1F-3C5E8A7F0B12}_is1
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-shiftpad.ps1
$url = 'https://github.com/APPLEVODKARUS/ShiftPad/releases/download/v2.2.0/ShiftPad-Setup-2.2.0.exe'
$sha256 = '0ACF2A319FBA3D8BF8C148B0EA365FECC3600D9714DC2BB9379639A82282D476'
$file = Join-Path $env:TEMP 'ShiftPad-Setup-2.2.0.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