PPT小工具を確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Seewo.PPTService -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Seewo.PPTService -e --silentwinget uninstall --id Seewo.PPTService -e --silentインストーラー別
32ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
seewo-report_6594548a69c34306af2c9cc73a060e19 /Sインストール先を指定
seewo-report_6594548a69c34306af2c9cc73a060e19 /S /D=C:\Apps\pptアンインストール
msiexec /x {958764E5-BBB2-43C1-1234-8D454ABD130A} /qn /norestart- MSIプロダクトコード
- {958764e5-bbb2-43c1-1234-8d454abd130a}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{958764e5-bbb2-43c1-1234-8d454abd130a}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-ppt.ps1
$url = 'https://store-g1.seewo.com/seewo-report_6594548a69c34306af2c9cc73a060e19?attname=PPTServiceSetup_1.0.0.795.exe'
$sha256 = '6A39DD862E2999CAE2CB026EE6956847EB0F3A8E50CCEB46907FD05D83797E4B'
$file = Join-Path $env:TEMP 'seewo-report_6594548a69c34306af2c9cc73a060e19'
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