免互動安裝timeBuzzer、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或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