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