Indicativeを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id ExplodingCB.Indicative -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ExplodingCB.Indicative -e --silentwinget uninstall --id ExplodingCB.Indicative -e --silentインストーラー別
64ビット · EXE(Inno Setup) · 現在のユーザー · en-US
サイレントインストール
indicative-setup-0.1.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
indicative-setup-0.1.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\indicative"- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F3C2A51-6B7E-4D2A-9C41-2E5B7A9D3F10}_is1
64ビット · EXE(Inno Setup) · すべてのユーザー · en-US
サイレントインストール
indicative-setup-0.1.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
indicative-setup-0.1.1.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\indicative"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8F3C2A51-6B7E-4D2A-9C41-2E5B7A9D3F10}_is1
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-indicative.ps1
$url = 'https://github.com/ExplodingCB/indicative/releases/download/v0.1.1/indicative-setup-0.1.1.exe'
$sha256 = '75780A6A01F693DFB5E3795952FF1536184841071E207C871A4BB7D28F366243'
$file = Join-Path $env:TEMP 'indicative-setup-0.1.1.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 install-indicative.ps1
$url = 'https://github.com/ExplodingCB/indicative/releases/download/v0.1.1/indicative-setup-0.1.1.exe'
$sha256 = '75780A6A01F693DFB5E3795952FF1536184841071E207C871A4BB7D28F366243'
$file = Join-Path $env:TEMP 'indicative-setup-0.1.1.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