Comenia Script APPを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id J4W.ComeniaScriptApp -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id J4W.ComeniaScriptApp -e --silentwinget uninstall --id J4W.ComeniaScriptApp -e --silentインストーラー別
64ビット · EXE(Inno Setup) · 現在のユーザー
サイレントインストール
ComeniaScriptAppSetup-2.0.6.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
ComeniaScriptAppSetup-2.0.6.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\comenia-script-app"- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ComeniaScriptApp_is1
64ビット · EXE(Inno Setup) · すべてのユーザー
サイレントインストール
ComeniaScriptAppSetup-2.0.6.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
ComeniaScriptAppSetup-2.0.6.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\comenia-script-app"- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ComeniaScriptApp_is1
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-comenia-script-app.ps1
$url = 'https://comeniascriptapp.cz/public/downloads/ComeniaScriptAppSetup-2.0.6.exe'
$sha256 = 'E427E35BB4E721BF9ED3E23D040A9D69E6537B81FAAE83249130C6ADB673874D'
$file = Join-Path $env:TEMP 'ComeniaScriptAppSetup-2.0.6.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 install-comenia-script-app.ps1
$url = 'https://comeniascriptapp.cz/public/downloads/ComeniaScriptAppSetup-2.0.6.exe'
$sha256 = 'E427E35BB4E721BF9ED3E23D040A9D69E6537B81FAAE83249130C6ADB673874D'
$file = Join-Path $env:TEMP 'ComeniaScriptAppSetup-2.0.6.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