Chatterflyを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Tencent.Chatterfly -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Tencent.Chatterfly -e --silentwinget uninstall --id Tencent.Chatterfly -e --silentインストーラー別
32ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
Chatterfly_V1.0.0.5516.exe /Sインストール先を指定
Chatterfly_V1.0.0.5516.exe /S /D=C:\Apps\chatterfly- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Chatterfly
- インストール先フォルダー
- %ProgramFiles(x86)%\Chatterfly
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-chatterfly.ps1
$url = 'https://chatterfly.gtimg.com/fe/pkg/2026092501/Chatterfly_V1.0.0.5516.exe'
$sha256 = 'A1519F5ADC4F8E7B60C6CA76A7CE4BE319D82F060A60D118873ABF6BF4239B29'
$file = Join-Path $env:TEMP 'Chatterfly_V1.0.0.5516.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