Installing Horde Agent using MSI

Hello, I’m trying to install an horde agent using msi, and I want to pass the SERVER_URL parameter. For example, SERVER_URL = http://10.99.0.100:13340, is there such functionality?

All other options I passed work
msiexec /q /i "C:\choco\mgs-horde-agent\UnrealHordeAgent.msi" /log "c:\horde_install.log" SERVER_URL="http://10.99.0.100:13340"

I solved the problem, but not in a standard way. I still haven’t found a way to pass the SERVER_URL parameter to UnrealHordeAgent.msi, perhaps such functionality is not provided. But you can do it differently:

  1. create a folder in the user registry HKCU:\SOFTWARE\Epic Games\Horde
  2. create an attribute there New-ItemProperty -Path "HKCU:\SOFTWARE\Epic Games\Horde" -Name "Url" -Value $hordasrv -PropertyType String
  3. run UnrealHordeAgent.msi
    msiexec /q /i "C:\choco\mgs-horde-agent\UnrealHordeAgent.msi" /log "c:\horde_install.log"
    profit

If there is a more elegant solution, I will be glad to hear it!