Doomsday Engineを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id DEngine.DoomsdayEngine.Candidate -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DEngine.DoomsdayEngine.Candidate -e --silentwinget uninstall --id DEngine.DoomsdayEngine.Candidate -e --silentインストーラー別
64ビット · MSI · 現在のユーザー · en-US
サイレントインストール
msiexec /i builds /qn /norestartログを出力
msiexec /i builds /qn /norestart /l*v "%TEMP%\doomsday-engine-install.log"アンインストール
msiexec /x {3201773D-3271-462C-8536-4918DADA9D63} /qn /norestart- MSIプロダクトコード
- {3201773D-3271-462C-8536-4918DADA9D63}
- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3201773D-3271-462C-8536-4918DADA9D63}
- UpgradeCode
- {9D4EDE0D-DFA4-4695-9710-6D351F35A719}
- インストール先フォルダー
- %ProgramFiles%\Doomsday 2.3.2
32ビット · MSI · 現在のユーザー · en-US
サイレントインストール
msiexec /i builds /qn /norestartログを出力
msiexec /i builds /qn /norestart /l*v "%TEMP%\doomsday-engine-install.log"アンインストール
msiexec /x {5B3607F9-ABC4-42E7-AF4E-474CA1ABA4AB} /qn /norestart- MSIプロダクトコード
- {5B3607F9-ABC4-42E7-AF4E-474CA1ABA4AB}
- アンインストール用レジストリキー
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5B3607F9-ABC4-42E7-AF4E-474CA1ABA4AB}
- UpgradeCode
- {9D4EDE0D-DFA4-4695-9710-6D351F35A719}
- インストール先フォルダー
- %ProgramFiles(x86)%\Doomsday 2.3.2
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-doomsday-engine.ps1
$url = 'https://api.dengine.net/1/builds?dl=doomsday_2.3.2-build3869_x64.msi'
$sha256 = 'D737B3632B2C32AC9CFF9778EC318F41FF39ECA39A3886E9B69DC410CC0AA51D'
$file = Join-Path $env:TEMP 'builds'
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 install-doomsday-engine.ps1
$url = 'https://api.dengine.net/1/builds?dl=doomsday_2.3.2-build3869_x86.msi'
$sha256 = 'D9719DAAA1FAA91446AD78E88E562A0BC2741423E96A64FCC00B19900A253F77'
$file = Join-Path $env:TEMP 'builds'
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