LiveChatを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Text.LiveChat -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Text.LiveChat -e --silentwinget uninstall --id Text.LiveChat -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
"LiveChat Setup 10.1.1.exe" /Sインストール先を指定
"LiveChat Setup 10.1.1.exe" /S /D=C:\Apps\livechat- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\1db9c6e2-98cb-54d4-9d62-390af5ea7cb8
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
"LiveChat Setup 10.1.1.exe" /Sインストール先を指定
"LiveChat Setup 10.1.1.exe" /S /D=C:\Apps\livechat- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\1db9c6e2-98cb-54d4-9d62-390af5ea7cb8
32ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
"LiveChat Setup 10.1.1.exe" /Sインストール先を指定
"LiveChat Setup 10.1.1.exe" /S /D=C:\Apps\livechat- アンインストール用レジストリキー
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\1db9c6e2-98cb-54d4-9d62-390af5ea7cb8
32ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
"LiveChat Setup 10.1.1.exe" /Sインストール先を指定
"LiveChat Setup 10.1.1.exe" /S /D=C:\Apps\livechat- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\1db9c6e2-98cb-54d4-9d62-390af5ea7cb8
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-livechat.ps1
$url = 'https://www.livechat.com/download/Windows/10.1.1/LiveChat%20Setup%2010.1.1.exe'
$sha256 = '3BB98E7E6C64677C5D5FA17E7819B6D0334B159460B649D0FE372FD50E1398BB'
$file = Join-Path $env:TEMP 'LiveChat Setup 10.1.1.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-livechat.ps1
$url = 'https://www.livechat.com/download/Windows/10.1.1/LiveChat%20Setup%2010.1.1.exe'
$sha256 = '3BB98E7E6C64677C5D5FA17E7819B6D0334B159460B649D0FE372FD50E1398BB'
$file = Join-Path $env:TEMP 'LiveChat Setup 10.1.1.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-livechat.ps1
$url = 'https://www.livechat.com/download/Windows/10.1.1/LiveChat%20Setup%2010.1.1.exe'
$sha256 = '3BB98E7E6C64677C5D5FA17E7819B6D0334B159460B649D0FE372FD50E1398BB'
$file = Join-Path $env:TEMP 'LiveChat Setup 10.1.1.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-livechat.ps1
$url = 'https://www.livechat.com/download/Windows/10.1.1/LiveChat%20Setup%2010.1.1.exe'
$sha256 = '3BB98E7E6C64677C5D5FA17E7819B6D0334B159460B649D0FE372FD50E1398BB'
$file = Join-Path $env:TEMP 'LiveChat Setup 10.1.1.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