QueueExplorerを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Cogin.QueueExplorer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Cogin.QueueExplorer -e --silentwinget uninstall --id Cogin.QueueExplorer -e --silentインストーラー別
32ビット · EXE(Inno Setup) · すべてのユーザー · en-US
サイレントインストール
QueueExplorer5.0.58.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
QueueExplorer5.0.58.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\queueexplorer"- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\QueueExplorerUniversal_is1
- インストール先フォルダー
- %ProgramFiles%\QueueExplorer
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-queueexplorer.ps1
$url = 'https://www.cogin.com/download/mq/QueueExplorer5.0.58.exe'
$sha256 = 'A1044D23CCF6655DF25148BF7C8B396B7A54144566A517517FE684F5E77F50D1'
$file = Join-Path $env:TEMP 'QueueExplorer5.0.58.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