Skip to main content
1

前往 Library > Upload。

2

在 Installer 步驟:

選擇 Installer Type = None
Image 127
3

在 Software 步驟:

  • 選擇 Add version to new software
  • Software Info 下新增:
    • Name = Gorelo
Image 128
4

Version Detection:

  • 選擇 Custom Detection Script
  • 使用預設設定新增一個 New script。
Image 129
5

複製貼上指令稿:

$registryPath = "HKLM:\SOFTWARE\Gorelo"
$valueName = "AgentVersion"

try {
    $version = Get-ItemPropertyValue -Path $registryPath -Name $valueName -ErrorAction Stop
    Write-Output $version
} catch {
    Write-Error "Unable to read version: $($_.Exception.Message)"
    exit 1
}
6

Installation

  • 選擇 Custom Detection Script
  • 新增一個 New script,並從你的 Gorelo 租戶貼上 Agent Asset 的安裝指令
Image 129
7

在版本步驟中輸入:

  • Version String = 8.42.0.0
8

點擊 Create。

你需要將這個新軟體加入部署頁面,然後在 Gorelo 中採用該資產。使用特定客戶/位置的安裝指令可略過採用程序。