T-Code IMEを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id NicheAppLab.T-CodeIME -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NicheAppLab.T-CodeIME -e --silentwinget uninstall --id NicheAppLab.T-CodeIME -e --silentインストーラー別
64ビット · EXE(Inno Setup)
サイレントインストール
NicheAppLab.TCodeIME_0.3.0.0_x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
NicheAppLab.TCodeIME_0.3.0.0_x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\t-code-ime"ARM64 · EXE(Inno Setup)
サイレントインストール
NicheAppLab.TCodeIME_0.3.0.0_arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
NicheAppLab.TCodeIME_0.3.0.0_arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\t-code-ime"32ビット · EXE(Inno Setup)
サイレントインストール
NicheAppLab.TCodeIME_0.3.0.0_x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-インストール先を指定
NicheAppLab.TCodeIME_0.3.0.0_x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\t-code-ime"PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-t-code-ime.ps1
$url = 'https://github.com/NicheAppLab/T-Code-IME-for-Win/releases/download/0.3.0.0/NicheAppLab.TCodeIME_0.3.0.0_x64.exe'
$sha256 = 'B9B2F550CA5A3AD2D776A44444136DEA3587B2F3C11478797907023EF16CB30A'
$file = Join-Path $env:TEMP 'NicheAppLab.TCodeIME_0.3.0.0_x64.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-t-code-ime.ps1
$url = 'https://github.com/NicheAppLab/T-Code-IME-for-Win/releases/download/0.3.0.0/NicheAppLab.TCodeIME_0.3.0.0_arm64.exe'
$sha256 = '5E920B6E2BA859C6994582511717A2B3754D70F629B263E92B23DAB640ECBC75'
$file = Join-Path $env:TEMP 'NicheAppLab.TCodeIME_0.3.0.0_arm64.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-t-code-ime.ps1
$url = 'https://github.com/NicheAppLab/T-Code-IME-for-Win/releases/download/0.3.0.0/NicheAppLab.TCodeIME_0.3.0.0_x86.exe'
$sha256 = '11C80E0F7B92357D708726EA27D5261557246274EC25E986A0671BC7DBF247B8'
$file = Join-Path $env:TEMP 'NicheAppLab.TCodeIME_0.3.0.0_x86.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