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