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

版本检测:

  • 选择 Custom Detection Script
  • 使用默认设置添加一个 New 脚本。
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

安装

  • 选择 Custom Detection Script
  • 添加一个 New 脚本,并粘贴来自你的 Gorelo 租户的 Agent Asset 安装命令
Image 129
7

在版本步骤中输入:

  • Version String = 8.42.0.0
8

点击 Create。

你需要将这个新软件添加到你的部署页面,然后在 Gorelo 中采纳该资产。使用特定客户/位置的安装命令可以跳过采纳要求。