Příkazy pro instalaci programu KillerNotes 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 SteveTheKiller.KillerNotes -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SteveTheKiller.KillerNotes -e --silentwinget uninstall --id SteveTheKiller.KillerNotes -e --silentPodle instalátoru
64bit · EXE · Všichni uživatelé
Tichá instalace
KillerNotes.exe /silent- Klíč odinstalace v registru
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KillerNotes
- DisplayVersion
- 1.6.0
PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-killernotes.ps1
$url = 'https://github.com/SteveTheKiller/KillerNotes/releases/download/v1.6.0/KillerNotes.exe'
$sha256 = '3D70AB43A85A0B384928D9D33798195E728D1A865C16251A28BB38F3B55BF144'
$file = Join-Path $env:TEMP 'KillerNotes.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 '/silent' -Wait