
"%~dp0Config\SylinkDrop.exe" -silent "%~dp064\sylink.xml" If not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk" copy /Y "%~dp0Config\32 Symantec Endpoint Protection.lnk" "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools\Symantec Endpoint Protection.lnk"Įcho %date% %time% Installation (64 bit) of %AppName% >"%LogFile%" If not exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools" md "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Tools" "%~dp0Config\SylinkDrop.exe" -silent "%~dp032\sylink.xml" IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0 Msiexec.exe /QN /L* "%Logs%\%AppName%.msi.log" /i "sep.msi" If /i "%PROCESSOR_ARCHITECTURE%"="x86" goto x86Įcho %date% %time% ERROR: Processor Architecture "%PROCESSOR_ARCHITECTURE%" unknown >"%LogFile%"Įcho %date% %time% Installation (32 bit) of %AppName% >"%LogFile%" If /i "%PROCESSOR_ARCHITECTURE%"="AMD64" goto AMD64 :: Installation -> Query for 32bit or 64bit processor architecture ::If the Computertype hasn't been dedected in the above routine, the setAid.ini & sylink.xml for Notebooks is used!

If %ReadCompType3%=D81 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml" If %ReadCompType3%=D81 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml" If %ReadCompType3%=D80 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp064\sylink.xml" If %ReadCompType3%=D80 copy /y "%~dp0Config\sylink_Desktops.xml" "%~dp032\sylink.xml" If %ReadCompType4%=SRV- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp064\sylink.xml" If %ReadCompType4%=SRV- copy /y "%~dp0Config\setAid_SRV_圆4.ini" "%~dp064\setAid.ini"


If %ReadCompType4%=SRV- copy /y "%~dp0Config\sylink_Servers.xml" "%~dp032\sylink.xml" If %ReadCompType4%=SRV- copy /y "%~dp0Config\setAid_SRV_x32.ini" "%~dp032\setAid.ini" ::Read Computertype through %COMPUTERNAME% variable Set AppName=Symantec Endpoint Protection.

A folder for the config files, an install.cmd and an uninstall.cmd.Ĭopy all the files that we have exported to the right directory Create a folder for the 32bit and the 64 bit package.
