DisplayNote Appを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリと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