NorthReaderを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Futureglobe.NorthReader -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Futureglobe.NorthReader -e --silentwinget uninstall --id Futureglobe.NorthReader -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
NorthReaderSetup.exe /Sインストール先を指定
NorthReaderSetup.exe /S /D=C:\Apps\northreader64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
NorthReaderSetup.exe /Sインストール先を指定
NorthReaderSetup.exe /S /D=C:\Apps\northreaderPowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-northreader.ps1
$url = 'https://buildserver.futureglobe.de/NorthReader/NorthReaderSetup.exe'
$sha256 = '580699569050F6FC205D3C5F4608FE2739578C182B4BEF43E1F1FDB67847788C'
$file = Join-Path $env:TEMP 'NorthReaderSetup.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-northreader.ps1
$url = 'https://buildserver.futureglobe.de/NorthReader/NorthReaderSetup.exe'
$sha256 = '580699569050F6FC205D3C5F4608FE2739578C182B4BEF43E1F1FDB67847788C'
$file = Join-Path $env:TEMP 'NorthReaderSetup.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