免互動安裝EchoLink、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id EchoLink.EchoLink -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id EchoLink.EchoLink -e --silentwinget uninstall --id EchoLink.EchoLink -e --silent依安裝檔
32位元 · EXE(WiX Burn)
靜默安裝
EchoLinkSetup-2-3-121.exe /quiet /norestart解除安裝
msiexec /x {5AE42BC2-B60C-4A25-B0AA-C25E36AAD094} /qn /norestart- MSI產品代碼
- {5ae42bc2-b60c-4a25-b0aa-c25e36aad094}
- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5ae42bc2-b60c-4a25-b0aa-c25e36aad094}
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-echolink.ps1
$url = 'https://d34yfhzor7jtt3.cloudfront.net/EchoLinkSetup-2-3-121.exe'
$sha256 = '29A5E229EACDE0495E4C977F9BB900794BDEAE907079C227BD16DEFF011314F0'
$file = Join-Path $env:TEMP 'EchoLinkSetup-2-3-121.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 '/quiet /norestart' -Wait