gloCOMを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id BicomSystems.gloCOM -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BicomSystems.gloCOM -e --silentwinget uninstall --id BicomSystems.gloCOM -e --silentインストーラー別
64ビット · EXE · すべてのユーザー
サイレントインストール
gloCOM-7.6.1.1.exe /S- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\gloCOM4
- DisplayVersion
- 7.6.1.1
64ビット · MSIX
サイレントインストール
Add-AppxPackage -Path gloCOM-7.6.1.1.msixアンインストール
Get-AppxPackage -Name BicomSystems.gloCOM | Remove-AppxPackagePowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-glocom.ps1
$url = 'https://downloads.bicomsystems.com/desktop/glocom/public/7.6.1.1/glocom/gloCOM-7.6.1.1.exe'
$sha256 = 'A07B856FE5CF3E4F09A6D2D54AE79368E1FD918201B17BDEE355BB1BA0D2A49C'
$file = Join-Path $env:TEMP 'gloCOM-7.6.1.1.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-glocom.ps1
$url = 'https://downloads.bicomsystems.com/desktop/glocom/public/7.6.1.1/glocom/gloCOM-7.6.1.1.msix'
$sha256 = 'EBE3D6B4300A439BA54D05DC4F323CF80FD89720BFAAB6B0D8A44474312C2A2A'
$file = Join-Path $env:TEMP 'gloCOM-7.6.1.1.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file