Chatlessを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Kamjin.Chatless -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Kamjin.Chatless -e --silentwinget uninstall --id Kamjin.Chatless -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
Chatless_0.7.4_x64-setup.exe /Sインストール先を指定
Chatless_0.7.4_x64-setup.exe /S /D=C:\Apps\chatless- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Chatless
64ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i Chatless_0.7.4_x64_en-US.msi /qn /norestartログを出力
msiexec /i Chatless_0.7.4_x64_en-US.msi /qn /norestart /l*v "%TEMP%\chatless-install.log"アンインストール
msiexec /x {8E0E30C0-827C-41A6-B17C-C979597C647B} /qn /norestart- MSIプロダクトコード
- {8E0E30C0-827C-41A6-B17C-C979597C647B}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8E0E30C0-827C-41A6-B17C-C979597C647B}
- UpgradeCode
- {701F5048-B5EF-5865-929A-76016298B01E}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-chatless.ps1
$url = 'https://github.com/kamjin3086/chatless/releases/download/v0.7.4/Chatless_0.7.4_x64-setup.exe'
$sha256 = '50B5FD6546FDB0F6C10F223D73417F3902D35475F2C4E48849B66C822D08A59C'
$file = Join-Path $env:TEMP 'Chatless_0.7.4_x64-setup.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 install-chatless.ps1
$url = 'https://github.com/kamjin3086/chatless/releases/download/v0.7.4/Chatless_0.7.4_x64_en-US.msi'
$sha256 = '6003858DC0773EA94A7FF5ABCF77C2F5178E8B442CC1331B97A149061B226B2B'
$file = Join-Path $env:TEMP 'Chatless_0.7.4_x64_en-US.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait