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