Scripted Install - Sophos
Hello,
Can someone help me run a scripted install for Sophos on our images? I believe there is no MSI, just an EXE.
Thanks!
1 Comment
[ + ] Show comment
-
Sophos Enterprise? - JasonEgg 7 years ago
-
Sorry, no. Sophos Endpoint Protection. I am fairly new at this and was told today we were going to swap over. We had Norton originally. - aredmond85 7 years ago
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
rockhead44
7 years ago
Posted by:
vjc
7 years ago
We did our Sophos update a few ago and I followed this article sent to us by Sophos...
https://community.sophos.com/kb/en-us/120560
did a -q on the exe file for the silent install and it all went fine
if you wanted to use a bat file in scripting...
@Echo Off
REM Sophos Central Installer
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
\\SERVER\SophosUpdate\SophosInstall.exe -q
exit /b 0
https://community.sophos.com/kb/en-us/120560
did a -q on the exe file for the silent install and it all went fine
if you wanted to use a bat file in scripting...
@Echo Off
REM Sophos Central Installer
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
\\SERVER\SophosUpdate\SophosInstall.exe -q
exit /b 0