方正字库を確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id FounderType.FounderType -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FounderType.FounderType -e --silentwinget uninstall --id FounderType.FounderType -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
FounderClient_1.1.8.exe /Sインストール先を指定
FounderClient_1.1.8.exe /S /D=C:\Apps\foundertype-foundertype- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\0cb1c732-408c-5b5a-8052-18a72b5b0610
32ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
FounderClient_x86_1.1.8.exe /Sインストール先を指定
FounderClient_x86_1.1.8.exe /S /D=C:\Apps\foundertype-foundertype- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\0cb1c732-408c-5b5a-8052-18a72b5b0610
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-foundertype-foundertype.ps1
$url = 'https://cdn13zk.foundertype.com/fclient/pro/windows/1.1.8/FounderClient_1.1.8.exe'
$sha256 = 'C32B9CCAEB3D858604A76E6A2A92449331AB21886928AA4C576C59FC00A3B648'
$file = Join-Path $env:TEMP 'FounderClient_1.1.8.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-foundertype-foundertype.ps1
$url = 'https://cdn13zk.foundertype.com/fclient/pro/windows/1.1.8/FounderClient_x86_1.1.8.exe'
$sha256 = 'D060AC2558921FAF6E85C06F789DA7ED6369C2546028E04C07CA4F51A00A3826'
$file = Join-Path $env:TEMP 'FounderClient_x86_1.1.8.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