Hi,
I followed instruction on Sophos KB with scripted installation ( https://community.sophos.com/kb/en-us/120611 )
I created the startup script as described in that article and deployed it via GPO. The Agent installed on the client, but I wonder, what happens the next time, the client starts, because there is a part in the script, that is irritating me
IF NOT EXIST "%ProgramFiles(x86)%\%MCS_ENDPOINT%"
Even after installation this path does not exist on the client, so I assume next run of the script will lead in installing the software again. Any idea?
This is the whole script recommended by Sophos:
@echo off
SET MCS_ENDPOINT=Sophos\Management Communications System\Endpoint\McsClient.exe
IF "%PROCESSOR_ARCHITECTURE%" == "x86" GOTO X86_PROG
IF NOT EXIST "%ProgramFiles(x86)%\%MCS_ENDPOINT%" GOTO INSTALL
exit /b 0
:X86_PROG
IF NOT EXIST "%ProgramFiles%\%MCS_ENDPOINT%" GOTO INSTALL
exit /b 0
:INSTALL
pushd \\servername\share
SophosSetup.exe --quiet
Popd
This thread was automatically locked due to age.