timeBuzzerを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id timeBuzzer.timeBuzzer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id timeBuzzer.timeBuzzer -e --silentwinget uninstall --id timeBuzzer.timeBuzzer -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
timeBuzzer-3.8.26.exe /Sインストール先を指定
timeBuzzer-3.8.26.exe /S /D=C:\Apps\timebuzzer- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e840cc22-ef6f-567d-8c43-e248543e7ba3
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
timeBuzzer-3.8.26.exe /Sインストール先を指定
timeBuzzer-3.8.26.exe /S /D=C:\Apps\timebuzzer- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\e840cc22-ef6f-567d-8c43-e248543e7ba3
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-timebuzzer.ps1
$url = 'https://timebuzzer.com/get/updates/timeBuzzer-3.8.26.exe'
$sha256 = '156DA187C10E9B86E72ED194D855EE706ECFA432C268FBA8701BF53B78A5C47A'
$file = Join-Path $env:TEMP 'timeBuzzer-3.8.26.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 install-timebuzzer.ps1
$url = 'https://timebuzzer.com/get/updates/timeBuzzer-3.8.26.exe'
$sha256 = '156DA187C10E9B86E72ED194D855EE706ECFA432C268FBA8701BF53B78A5C47A'
$file = Join-Path $env:TEMP 'timeBuzzer-3.8.26.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