DeepLを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id DeepL.DeepL -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DeepL.DeepL -e --silentwinget uninstall --id DeepL.DeepL -e --silentインストーラー別
64ビット · EXE · 現在のユーザー
サイレントインストール
DeepLSetup.exe --verysilent- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\https%3a##appdownload.deepl.com#windows#0install#deepl.xml
64ビット · EXE · すべてのユーザー
サイレントインストール
DeepLSetup.exe --verysilent- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\https%3a##appdownload.deepl.com#windows#0install#deepl.xml
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-deepl.ps1
$url = 'https://appdownload.deepl.com/windows/0install/DeepLSetup.exe'
$sha256 = 'C0A01C1361213D505FDA9FEB17DADD3B2A534A0A90BC86B62BC80E760DA333B6'
$file = Join-Path $env:TEMP 'DeepLSetup.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' -Wait install-deepl.ps1
$url = 'https://appdownload.deepl.com/windows/0install/DeepLSetup.exe'
$sha256 = 'C0A01C1361213D505FDA9FEB17DADD3B2A534A0A90BC86B62BC80E760DA333B6'
$file = Join-Path $env:TEMP 'DeepLSetup.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' -Wait