@echo off

REM ################################################################
REM Installs: Microsoft Sync Toy 2.1 x86 or x64 depending on platform.
REM Download link: http://www...
REM Contact information:
REM Documentation:
REM Created:
REM Modifyed:
REM Info:
REM Program reboots during install: No
REM Windows needs to be rebooted by SCCM after install: No
REM User interaction at install: No
REM Application dependencies: No
REM ################################################################

REM Kollar arkitektur
IF EXIST "%PROGRAMFILES(x86)%" (GOTO :x64) ELSE (GOTO :x86)

:x64

REM Kör setup för SyncToy x64
msiexec.exe /i "%~dp0x64\SyncToySetup.msi" ALLUSERS=2 /qn

REM Kör setup för Microsoft Sync Framework Core Components
msiexec.exe /i "%~dp0x64\Synchronization-v2.0-x64-ENU.msi" ALLUSERS=2 /qn

REM Kör setup för Microsoft Sync Framework Services
msiexec.exe /i "%~dp0x64\ProviderServices-v2.0-x64-ENU.msi" ALLUSERS=2 /qn

REM Return exit code to SCCM

exit /B %EXIT_CODE%

GOTO :EOF

:x86

REM Kör setup för SyncToy x86
msiexec.exe /i "%~dp0x86\SyncToySetup.msi" ALLUSERS=2 /qn

REM Kör setup för Microsoft Sync Framework Core Components
msiexec.exe /i "%~dp0x86\Synchronization-v2.0-x86-ENU.msi" ALLUSERS=2 /qn

REM Kör setup för Microsoft Sync Framework Services
msiexec.exe /i "%~dp0x86\ProviderServices-v2.0-x86-ENU.msi" ALLUSERS=2 /qn

REM Return exit code to SCCM

exit /B %EXIT_CODE%

GOTO :EOF

REM End of file

  • No labels