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:
create a folder in the user registry HKCU:\SOFTWARE\Epic Games\Horde
create an attribute there New-ItemProperty -Path "HKCU:\SOFTWARE\Epic Games\Horde" -Name "Url" -Value $hordasrv -PropertyType String
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!