potを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Pylogmon.pot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Pylogmon.pot -e --silentwinget uninstall --id Pylogmon.pot -e --silentインストーラー別
64ビット · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
pot_3.0.7_x64-setup.exe /Sインストール先を指定
pot_3.0.7_x64-setup.exe /S /D=C:\Apps\pot- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\pot
ARM64 · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
pot_3.0.7_arm64-setup.exe /Sインストール先を指定
pot_3.0.7_arm64-setup.exe /S /D=C:\Apps\pot- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\pot
32ビット · EXE(NSIS) · すべてのユーザー · en-US
サイレントインストール
pot_3.0.7_x86-setup.exe /Sインストール先を指定
pot_3.0.7_x86-setup.exe /S /D=C:\Apps\pot- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\pot
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-pot.ps1
$url = 'https://github.com/pot-app/pot-desktop/releases/download/3.0.7/pot_3.0.7_x64-setup.exe'
$sha256 = '0A6AC5309BFC41234D58CF6615A779C66D167D3A0DA5542A0DE2EA118FC6BC56'
$file = Join-Path $env:TEMP 'pot_3.0.7_x64-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 install-pot.ps1
$url = 'https://github.com/pot-app/pot-desktop/releases/download/3.0.7/pot_3.0.7_arm64-setup.exe'
$sha256 = 'FD478816FA62C137BC0C187A09B82AA37C52B8CCBD441EF715E87C02A45DBC0E'
$file = Join-Path $env:TEMP 'pot_3.0.7_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 '/S' -Wait install-pot.ps1
$url = 'https://github.com/pot-app/pot-desktop/releases/download/3.0.7/pot_3.0.7_x86-setup.exe'
$sha256 = 'FF9B69BEA285CA60B9F0075A740DC022F9BAF873221B14E2C20A960502F09761'
$file = Join-Path $env:TEMP 'pot_3.0.7_x86-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