Deependを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id DeepenShrestha.Deepend -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DeepenShrestha.Deepend -e --silentwinget uninstall --id DeepenShrestha.Deepend -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
Deepend_0.1.1_x64-setup.exe /Sインストール先を指定
Deepend_0.1.1_x64-setup.exe /S /D=C:\Apps\deepend64ビット · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i Deepend_0.1.1_x64_en-US.msi /qn /norestartログを出力
msiexec /i Deepend_0.1.1_x64_en-US.msi /qn /norestart /l*v "%TEMP%\deepend-install.log"アンインストール
msiexec /x {8DB0F58A-FDC2-4436-A9B2-AD9C5B71FB80} /qn /norestart- MSIプロダクトコード
- {8DB0F58A-FDC2-4436-A9B2-AD9C5B71FB80}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8DB0F58A-FDC2-4436-A9B2-AD9C5B71FB80}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-deepend.ps1
$url = 'https://github.com/deepen-stha/deepend-releases/releases/download/v0.1.1/Deepend_0.1.1_x64-setup.exe'
$sha256 = 'D6DF997CD45F7762EF437FAE8363145BB436951E4D721D7F890A1E9C889549CF'
$file = Join-Path $env:TEMP 'Deepend_0.1.1_x64-setup.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-deepend.ps1
$url = 'https://github.com/deepen-stha/deepend-releases/releases/download/v0.1.1/Deepend_0.1.1_x64_en-US.msi'
$sha256 = '0D40DC6231215CE69B00140AE435F003D9E4CD28D8FAFE1F0EE72F9675BA696C'
$file = Join-Path $env:TEMP 'Deepend_0.1.1_x64_en-US.msi'
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