Requestlyを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id BrowserStackInc.Requestly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BrowserStackInc.Requestly -e --silentwinget uninstall --id BrowserStackInc.Requestly -e --silentインストーラー別
64ビット · EXE(NSIS) · en-US
サイレントインストール
Requestly-Setup-26.6.29.exe /Sインストール先を指定
Requestly-Setup-26.6.29.exe /S /D=C:\Apps\requestlyアンインストール
msiexec /x {DC1CEEB3-A0EC-5090-8AAA-58027CD44A89} /qn /norestart- MSIプロダクトコード
- {DC1CEEB3-A0EC-5090-8AAA-58027CD44A89}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DC1CEEB3-A0EC-5090-8AAA-58027CD44A89}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-requestly.ps1
$url = 'https://github.com/requestly/http-interceptor-desktop-app/releases/download/v26.6.29/Requestly-Setup-26.6.29.exe'
$sha256 = '065EE22B54B6C0363AEBA3ED758C0EB66AB0B25539D320352DE4115EE2889063'
$file = Join-Path $env:TEMP 'Requestly-Setup-26.6.29.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