AtlayaView (Framework-Dependent)を確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Morfyuum.AtlayaView.FxDependent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Morfyuum.AtlayaView.FxDependent -e --silentwinget uninstall --id Morfyuum.AtlayaView.FxDependent -e --silentインストーラー別
64ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
AtlayaView-Setup-2.1.2-fx.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTインストール先を指定
AtlayaView-Setup-2.1.2-fx.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\atlayaview-framework-dependent"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D94DF165-53AB-424B-8539-2411D56612E4}_is1
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-atlayaview-framework-dependent.ps1
$url = 'https://atlaya.capecter.com/downloads/atlayaview/2.1.2/AtlayaView-Setup-2.1.2-fx.exe'
$sha256 = '0071516BE89B782F407F0842835BC290C1D382A2C25323B4CCEC455772D89CDD'
$file = Join-Path $env:TEMP 'AtlayaView-Setup-2.1.2-fx.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' -Wait