summaryrefslogtreecommitdiffstats
path: root/client/shared/scripts/launchOgagentInstaller
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2020-03-11 14:24:55 +0100
committerRamón M. Gómez <ramongomez@us.es>2020-03-11 14:24:55 +0100
commit2078a2f2e08fc032afaae67f1e49767cd8a6f704 (patch)
tree6e58d47b397884fd13be52f17e42aaa557b0f9e6 /client/shared/scripts/launchOgagentInstaller
parente838fc3eb44e86f234623536a930c06541b5229f (diff)
#963: Script `launchOgagentInstaller` schedules an unattended installation of OGAgent for Windows.
Diffstat (limited to 'client/shared/scripts/launchOgagentInstaller')
-rwxr-xr-xclient/shared/scripts/launchOgagentInstaller4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/shared/scripts/launchOgagentInstaller b/client/shared/scripts/launchOgagentInstaller
index 85f507b0..b999d3ed 100755
--- a/client/shared/scripts/launchOgagentInstaller
+++ b/client/shared/scripts/launchOgagentInstaller
@@ -51,13 +51,13 @@ load $HIVE
cd \\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce
setval 1
Install OGAgent
-string:C:\\Windows\\Temp\\$OGAGENTFILE"
+string:C:\\Windows\\Temp\\$OGAGENTFILE /S /server $(ogGetServerIp)
commit
close
exit
EOT
echo "Scheduled OGAgent installation after \"$3\" logon"
- echo " (edit config file after finish)."
+ echo " (for connection problems, check configuration file)."
else
ogRaiseError $OG_ERR_NOTWRITE "$1 $2 .../$3/NTUSER.DAT"
exit $OG_ERR_NOTWRITE