Logitech Presentationを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Logitech.Presentation -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Logitech.Presentation -e --silentwinget uninstall --id Logitech.Presentation -e --silentインストーラー別
32ビット · EXE(NSIS) · 現在のユーザー · en-US
サイレントインストール
LogiPresentation_2.10.34.exe /Sインストール先を指定
LogiPresentation_2.10.34.exe /S /D=C:\Apps\logitech-presentation- アンインストール用レジストリキー
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\LogiPresentation
- インストール先フォルダー
- %AppData%\Logitech\WEB
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-logitech-presentation.ps1
$url = 'https://download01.logi.com/web/ftp/pub/techsupport/presentation/LogiPresentation_2.10.34.exe'
$sha256 = '683675924D28C8F14C59A898845981321A293A27EFB7EF8043F6551EA2F8D20D'
$file = Join-Path $env:TEMP 'LogiPresentation_2.10.34.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