MemEmoticsを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Havysoft.MemEmotics -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Havysoft.MemEmotics -e --silentwinget uninstall --id Havysoft.MemEmotics -e --silentインストーラー別
64ビット · ZIP · すべてのユーザー
サイレントインストール
ME_Install.zip /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DF51DA85-84A7-4F34-9114-F092423CCDF7}_is1
- インストール先フォルダー
- %SystemDrive%\Programs\Havysoft\MemEmotics
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-mememotics.ps1
$url = 'https://www.havysoft.cl/download/ME_Install.zip'
$sha256 = '2DE9F43751C06453633A920CED207209CF4863C3854026512E6884B503736919'
$file = Join-Path $env:TEMP 'ME_Install.zip'
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