Script install of Lync 2010 client with a CU and MUI pack

In this post I will cover how to deploy the Lync 2010 client with a CU (Cumulative Update) and MUI (Multilingual User Interface) pack.  I used this method to deploy Lync 2010 with Microsoft SCCM.

Create a package source folder (e.g. Lync_2010_MUI_CU7, then download the following files place them into two subfolders named “32bit” and “64bit”:

32bit Folder:
LyncSetup.exe (Lync 2010 32bit setup file)
Lync.msp (Lync 2010 32bit CU – Download CU 7)
LyncMUI_32bit.exe (Lync 2010 32bit MUI setup file – Download)

64bit Folder:
LyncSetup.exe (Lync 2010 64bit setup file)
Lync.msp (Lync 2010 64bit CU 6 update – Download CU 7)
LyncMUI_64bit.exe (Lync 2010 64bit MUI setup file – Download)

Create the following Batch File named install.bat containing the code below and save it in the root of the package source folder:

:: Batch file to install Lync 2010 Client with CU7 and MUI packs on 32 bit and 64 bit Windows
:: Created by Shy IT, www.ShyIT.co.uk

@echo off

IF EXIST "C:PROGRAM FILES (x86)" (GOTO :x64) ELSE (GOTO :x86)

:x86
:: ****Install for 32 BIT****
:: Install Lync 2010 Client
"%~dp032bitLyncSetup.exe" /Install /Silent
:: Install Lync CU7
msiexec /update "%~dp032bitlync.msp" /quiet
:: Install Lync MUI
"%~dp032bitLyncMUI_32bit.exe" /quiet /norestart
GOTO :EOF

:x64
:: ****Install for 64 BIT****
:: Install Lync 2010 Client
"%~dp064bitLyncSetup.exe" /Install /Silent
:: Install Lync CU7
msiexec /update "%~dp064bitlync.msp" /quiet
:: Install Lync MUI
"%~dp064bitLyncMUI_64bit.exe" /quiet /norestart
GOTO :EOF

 

You can then create a package within SCCM using the package source folder and create a program that runs install.bat.  This will install Lync 2010 on 32bit and 64bit machines.  You can of course split the 32 bit and 64 bit in to separate packages but this method suited my environment.

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.