memtimeを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id memtime.memtime -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id memtime.memtime -e --silentwinget uninstall --id memtime.memtime -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
memtime-V4.14.2-stable.2850-Installer.exe /Sインストール先を指定
memtime-V4.14.2-stable.2850-Installer.exe /S /D=C:\Apps\memtime64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
memtime-V4.14.2-stable.2850-Installer.exe /Sインストール先を指定
memtime-V4.14.2-stable.2850-Installer.exe /S /D=C:\Apps\memtimeARM64 · EXE(NSIS) · すべてのユーザー
サイレントインストール
memtime-V4.14.2-stable.2850-Installer.exe /Sインストール先を指定
memtime-V4.14.2-stable.2850-Installer.exe /S /D=C:\Apps\memtimePowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-memtime.ps1
$url = 'https://releases.memtime.com/app/memtime/production/windows/x64/4.14.2/stable/2850/b756989baa50572b1008ca0fd805d338/memtime-V4.14.2-stable.2850-Installer.exe'
$sha256 = 'AC92E304C012A7E3C49CABC9E0F9C20EDEDF0EB948F8001E48C6C0D8F0F1963F'
$file = Join-Path $env:TEMP 'memtime-V4.14.2-stable.2850-Installer.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 install-memtime.ps1
$url = 'https://releases.memtime.com/app/memtime/production/windows/x64/4.14.2/stable/2850/b756989baa50572b1008ca0fd805d338/memtime-V4.14.2-stable.2850-Installer.exe'
$sha256 = 'AC92E304C012A7E3C49CABC9E0F9C20EDEDF0EB948F8001E48C6C0D8F0F1963F'
$file = Join-Path $env:TEMP 'memtime-V4.14.2-stable.2850-Installer.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 install-memtime.ps1
$url = 'https://releases.memtime.com/app/memtime/production/windows/arm64/4.14.2/stable/2850/b756989baa50572b1008ca0fd805d338/memtime-V4.14.2-stable.2850-Installer.exe'
$sha256 = '7B6CD34FEC52425B75DFC880112A60EA1EA548DD9D074E6511CAE6733944D543'
$file = Join-Path $env:TEMP 'memtime-V4.14.2-stable.2850-Installer.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