Arvisを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id jopemachine.Arvis -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jopemachine.Arvis -e --silentwinget uninstall --id jopemachine.Arvis -e --silentインストーラー別
64ビット · EXE(NSIS)
サイレントインストール
Arvis-Setup-0.14.6.exe /Sインストール先を指定
Arvis-Setup-0.14.6.exe /S /D=C:\Apps\arvisPowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-arvis.ps1
$url = 'https://github.com/jopemachine/arvis/releases/download/v0.14.6/Arvis-Setup-0.14.6.exe'
$sha256 = 'E5444845D5EBF1976AA78B388C5367D92DC0C635698EA7D359A48A9655CDBC7B'
$file = Join-Path $env:TEMP 'Arvis-Setup-0.14.6.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