Questionmark Secure Browserを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Learnosity.QuestionmarkSecure -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Learnosity.QuestionmarkSecure -e --silentwinget uninstall --id Learnosity.QuestionmarkSecure -e --silentインストーラー別
CPU共通 · EXE(NSIS) · 現在のユーザー
サイレントインストール
latest_qsb.exe /Sインストール先を指定
latest_qsb.exe /S /D=C:\Apps\questionmark-secure-browser- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Questionmark Secure Browser
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-questionmark-secure-browser.ps1
$url = 'https://qsb.questionmark.com/qsb/latest_qsb.exe'
$sha256 = '8FC872B0F5388418C3E7C5E77FE74A9EA51BF5ED8B7F77276E2A97EC8A5F6757'
$file = Join-Path $env:TEMP 'latest_qsb.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