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