Setup/Windows/InstallOrUpdateProxyAgentOnly.vbs (11 lines of code) (raw):
Dim proxyAgent
set proxyAgent = GetScriptObject(WScript, "ProxyAgent.wsf", "ProxyAgent")
set proxyAgent.Script = WScript
proxyAgent.Initialize "."
proxyAgent.ConfigureProxyAgentOnly()
Function GetScriptObject(WScript, scriptPath, componentId)
Dim FSO, scriptDir
Set FSO = CreateObject("Scripting.FileSystemObject")
scriptDir = FSO.GetParentFolderName(WScript.ScriptFullName)
Set GetScriptObject = GetObject("script:" & FSO.BuildPath(scriptDir, scriptPath) & "#" & componentId)
End Function