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