dissabte, 30 de juny del 2012

Script Instalación Cliente de Office 365 "Microsoft Online Services Sign-in assistant" junto cliente Lync2010


Script de instalación en modo desatendido

rem @echo off

SET INSTALLSERVER=\\dc\microsoft

REM Determine CPU Architecture.
if %PROCESSOR_ARCHITECTURE% == x86 goto 32bit
if not %PROCESSOR_ARCHITECTURE% == x86 goto 64bit

REM Deploy Lync and Microsoft Online Services Sign-in Assistant

:32bit
REM Install Microsoft Online Services Sign-in Assistant
if exist "%programfiles%\Common Files\Microsoft Shared\Microsoft Online Services\MSOIDSVC.EXE" goto lync32
%INSTALLSERVER%\msoidcli_32bit.msi /passive

:lync32
if exist "%programfiles%\Microsoft Lync\communicator.exe" goto end
%INSTALLSERVER%\LyncSetup.exe /Install /Silent

goto end

:64bit
REM Install Microsoft Online Services Sign-in Assistant
if exist "%programfiles%\Common Files\Microsoft Shared\Microsoft Online Services\MSOIDSVC.EXE" goto lync64
%INSTALLSERVER%\msoidcli_64bit.msi /passive

:lync64
if exist "%programfiles% (x86)\Microsoft Lync\communicator.exe" goto end
%INSTALLSERVER%\LyncSetup_x64.exe /Install /Silent

:end


REM END of Script

Cap comentari:

Publica un comentari a l'entrada