LogonExpert Serverを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Softros.LogonExpert.Server -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Softros.LogonExpert.Server -e --silentwinget uninstall --id Softros.LogonExpert.Server -e --silentインストーラー別
64ビット · EXE(Inno Setup) · すべてのユーザー · en-US
サイレントインストール
LogonExpertServerSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
LogonExpertServerSetup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\logonexpert-server"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5369F3C6-23BB-4BAB-B069-D51A34D87614}_is1
- インストール先フォルダー
- %ProgramFiles%\Softros Systems\LogonExpert Server
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-logonexpert-server.ps1
$url = 'https://download.softros.com/LogonExpertServerSetup.exe'
$sha256 = '1DD4080CE4276F25043A6DAD0E5E7902F2F9605D355353818BDFE0CD6DA7DEC8'
$file = Join-Path $env:TEMP 'LogonExpertServerSetup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait