免互動安裝DisplayNote App、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式
使用winget
PowerShell
winget install --id DisplayNote.PhilipsScreenShare -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DisplayNote.PhilipsScreenShare -e --silentwinget uninstall --id DisplayNote.PhilipsScreenShare -e --silent依安裝檔
32位元 · EXE(Inno Setup) · 所有使用者 · en-US
靜默安裝
DisplaynoteMontageClient-2.58.0.59410.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-自訂安裝資料夾
DisplaynoteMontageClient-2.58.0.59410.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\displaynote-app"- 解除安裝登錄機碼
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\c1280df6-9fba-11e8-987b-a74ba9f05714_is1
- 安裝資料夾
- %ProgramFiles%\DisplayNote App
- DisplayVersion
- 2.58.0-59410
PowerShell:下載、驗證、安裝
下載官方檔案,驗證SHA256後靜默安裝。
install-displaynote-app.ps1
$url = 'https://releases-static.displaynote.com/85140f7d/ed60/4d32/a4f2/cac8a534b25f/DisplaynoteMontageClient-2.58.0.59410.exe'
$sha256 = 'CE840AB8B60A53E31E1EF4DF0273130E34918470EEF97A4BA8960FD0AAE6977A'
$file = Join-Path $env:TEMP 'DisplaynoteMontageClient-2.58.0.59410.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait