免互動安裝gloCOM、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。
相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或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