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