KillerNotesを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
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 --silentインストーラー別
64ビット · EXE · すべてのユーザー
サイレントインストール
KillerNotes.exe /silent- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KillerNotes
- DisplayVersion
- 1.6.0
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
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