Libdigidocppを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id RIA.Libdigidocpp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RIA.Libdigidocpp -e --silentwinget uninstall --id RIA.Libdigidocpp -e --silentインストーラー別
64ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i libdigidocpp-4.5.1.8444.x64.msi /qn /norestartログを出力
msiexec /i libdigidocpp-4.5.1.8444.x64.msi /qn /norestart /l*v "%TEMP%\libdigidocpp-install.log"アンインストール
msiexec /x {4935F56B-7B9C-4705-8FCA-30F54374E73D} /qn /norestart- MSIプロダクトコード
- {4935F56B-7B9C-4705-8FCA-30F54374E73D}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4935F56B-7B9C-4705-8FCA-30F54374E73D}
- UpgradeCode
- {93985BBA-6B59-443B-80C8-BA987407F8B8}
ARM64 · MSI · すべてのユーザー
サイレントインストール
msiexec /i libdigidocpp-4.5.1.8444.arm64.msi /qn /norestartログを出力
msiexec /i libdigidocpp-4.5.1.8444.arm64.msi /qn /norestart /l*v "%TEMP%\libdigidocpp-install.log"アンインストール
msiexec /x {D1937088-B613-4F56-BBB0-6EB72FFEA4AB} /qn /norestart- MSIプロダクトコード
- {D1937088-B613-4F56-BBB0-6EB72FFEA4AB}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D1937088-B613-4F56-BBB0-6EB72FFEA4AB}
- UpgradeCode
- {DE2F0796-01FE-4291-BFC1-C01F631D082B}
32ビット · MSI · すべてのユーザー
サイレントインストール
msiexec /i libdigidocpp-4.5.1.8444.x86.msi /qn /norestartログを出力
msiexec /i libdigidocpp-4.5.1.8444.x86.msi /qn /norestart /l*v "%TEMP%\libdigidocpp-install.log"アンインストール
msiexec /x {2E647937-17B2-4010-8D4D-2DCD1B113FEC} /qn /norestart- MSIプロダクトコード
- {2E647937-17B2-4010-8D4D-2DCD1B113FEC}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{2E647937-17B2-4010-8D4D-2DCD1B113FEC}
- UpgradeCode
- {7F1B1519-B527-4130-998D-233F4D050F14}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-libdigidocpp.ps1
$url = 'https://github.com/open-eid/libdigidocpp/releases/download/v4.5.1/libdigidocpp-4.5.1.8444.x64.msi'
$sha256 = '38CF7535E78C215448223C00BDA2DFDDE68A1042C3D08AC0AA28A9659F8900E4'
$file = Join-Path $env:TEMP 'libdigidocpp-4.5.1.8444.x64.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 install-libdigidocpp.ps1
$url = 'https://github.com/open-eid/libdigidocpp/releases/download/v4.5.1/libdigidocpp-4.5.1.8444.arm64.msi'
$sha256 = 'FC0406108734E8623CF440738C1C9993958D0C66E978FE17655E7D381EA41CEA'
$file = Join-Path $env:TEMP 'libdigidocpp-4.5.1.8444.arm64.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 install-libdigidocpp.ps1
$url = 'https://github.com/open-eid/libdigidocpp/releases/download/v4.5.1/libdigidocpp-4.5.1.8444.x86.msi'
$sha256 = '1E9B4E56B473D0A52C7988219FE18FFA51C3D2F150F3F16B6323B9345C463FE8'
$file = Join-Path $env:TEMP 'libdigidocpp-4.5.1.8444.x86.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