cronstableを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id ptweezy.cronstable -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ptweezy.cronstable -e --silentwinget uninstall --id ptweezy.cronstable -e --silentインストーラー別
64ビット · EXE(WiX Burn) · すべてのユーザー
サイレントインストール
cronstable-windows-amd64-setup.exe /quiet /norestartアンインストール
msiexec /x {1728DB5B-2EBC-4509-8181-160B41CAA070} /qn /norestart- MSIプロダクトコード
- {1728DB5B-2EBC-4509-8181-160B41CAA070}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1728DB5B-2EBC-4509-8181-160B41CAA070}
- UpgradeCode
- {E8D4C05B-5ED5-4850-826D-8BA6163E4F8A}
- DisplayVersion
- 1.2.73
ARM64 · EXE(WiX Burn) · すべてのユーザー
サイレントインストール
cronstable-windows-arm64-setup.exe /quiet /norestartアンインストール
msiexec /x {19CCE255-17D4-40C2-A04E-2EB8E4F457EE} /qn /norestart- MSIプロダクトコード
- {19CCE255-17D4-40C2-A04E-2EB8E4F457EE}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{19CCE255-17D4-40C2-A04E-2EB8E4F457EE}
- UpgradeCode
- {E8D4C05B-5ED5-4850-826D-8BA6163E4F8A}
- DisplayVersion
- 1.2.73
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-cronstable.ps1
$url = 'https://github.com/ptweezy/cronstable/releases/download/1.2.73/cronstable-windows-amd64-setup.exe'
$sha256 = '48572640C4C8A9AD533459A0F14D1341637A39F340A9312368596EFAAA44CD69'
$file = Join-Path $env:TEMP 'cronstable-windows-amd64-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 '/quiet /norestart' -Wait install-cronstable.ps1
$url = 'https://github.com/ptweezy/cronstable/releases/download/1.2.73/cronstable-windows-arm64-setup.exe'
$sha256 = 'BE7E4C10245B3D18F382C9174FC9178DBABA1816E04AB333B2506DB9B2F1C8B3'
$file = Join-Path $env:TEMP 'cronstable-windows-arm64-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 '/quiet /norestart' -Wait