How To Deploy Lync 2010 Client Using SCCM 2012 R2

15280

How To Deploy Lync 2010 Client Using SCCM 2012 R2

In this post we will see how to deploy Lync 2010 client using SCCM 2012 R2. The Lync server 2010 client is a single unified communication client that replaces previously released Office Communicator and Live meeting client, single client performs all the functions of the previous clients including instant messaging (IM), web conferencing, white boarding, desktop sharing, and enterprise voice. I have seen most of the users asking questions in Technet on how to deploy Lync 2010 client using SCCM 2012 R2, since the Lync Communicator comes as an executable file you cannot deploy it like the way you do for a .msi file. We will see step by step method on how to deploy Lync 2010 client using SCCM 2012 R2 and also we will see the uninstallation of Lync 2010 client.

You can deploy Lync 2010 in a managed-desktop environment by using the following methods:

  1. SCCM – You can use Microsoft System Center Configuration Manager to deploy the Lync 2010 Client to the systems.
  2. Group Policy – You can create a Group Policy object to deploy Lync 2010 to specific users or computers based on group memberships.
  3. Logon Script – To deploy Lync 2010 client you can use a logon script that performs an unattended installation of Lync 2010 when a user logs on.

As mentioned earlier, in this post we will see the deployment of Lync 2010 client using SCCM 2012 R2. You can download the Lync 2010 client by clicking here.

When you deploy Lync 2010, you can use the Lync 2010 setup program command-line arguments listed in the following table.

Command Line ArgumentDescription
/SilentSuppresses the installation user interface
/InstallInstalls the client
/UninstallRemoves previous versions of Office Communicator and add-ins
/RepairReinstalls the client to repair any installation issues
/InstallDirSpecifies the installation directory
/fulluisuppressionEnables Lync 2010 to run in user interface suppression mode

Once you have downloaded the Lync 2010 client setup file, you can copy it to a folder on the ConfigMgr server. Launch the Configuration Manager console, click Software Library, under Application Management right click Applications and click Create Application.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Choose Manually specify the application information and click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Specify some information about the application such as Name, Publisher etc. Click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

You can specify more information about the application here, the information specified here will be seen by user in the Application Catalog. Click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Yes, we will configure the Deployment Type for Lync 2010 client setup. Click on Add.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Let the deployment type be a Windows Installer (*.msi), choose Manually specify the deployment type information. Click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Specify some information about this deployment type and click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

For the Content Location, provide the path where the Lync 2010 setup file is present, in my case I have copied the setup file to a folder named LyncSetup on SCCM server. The next step is to specify install and uninstall command.

Specify the Installation Program as LyncSetup.exe /silent

Specify the Uninstall Program as msiexec.exe /uninstall “C:Program Files (x86)OCSetupLync.msi”

Click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Detection Method – Detection methods allow the administrator to check if application is already installed. It can also prevent an install of an application if it conflicts with another application that is already installed. In this step you configure the rules to detect whether the application already exists on the client machine. Click Configure rules to detect the presence of this deployment type and click on Add Clause.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

On the Detection Rule window, choose Setting Type as File System. Under Specify the file or folder to detect the app, set the following

Type – File

Path – C:Program Files (x86)Microsoft Lync

File or Folder name – communicator.exe

Click OK and then Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Selection the Installation behavior as Install for system, Logon requirement as Whether or not a user is logged on and Installation program visibility to Normal. Click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

We will not specify any installation requirements for this deployment type so click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

We will not specify any software dependencies for this deployment type so click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Click Close.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Under the Deployment types we see the Lync 2010 application. Click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Click on Close.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Right click the Lync application (Lync 2010 (x64)) and click on Distribute Content.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Add the Distribution Point and complete the wizard.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

After you distribute the application to DP, right click on the Lync application and click on Deploy. Choose the Collection where this application is to be deployed and click Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Deployment Settings – Set the Action as Install and Purpose as Available. Click on Next.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Click on Next and complete the wizard.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

After few minutes the Lync 2010 app can be seen in the Software Center under Available Software. Select the app and click on Install Selected. The app is downloaded from the DP and installed.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

The Lync 2010 client has been installed on the computer.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

If you want to what’s going in the background during the client installation, you can open the AppEnforce.log file on the client computer using CM Trace tool. If the app fails to install you can check this file for troubleshooting purpose.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

While we were creating the deployment type for this app we had specified the Uninstall Program command. Let’s see if the app gets uninstalled without any issues, click on Uninstall.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

We have uninstalled the Lync Client 2010 successfully.

How To Deploy Lync 2010 Client Using SCCM 2012 R2

I hope this post will help you when you plan to deploy Lync client using SCCM 2012. If you have questions do write in comments.

  • Naveen Punj

    Just wondering why we haven’t created a package in this case instead of creating application. Can’t we have .exe file in this case or there is some other reasons?

    • A package can also be created. Creating application is very easier and it also allows you to specify the detection method.

  • Naveen Punj

    Got it.
    Prajval I need your help once again. I am preparing a web session on MDT which will be for 40-60 minutes.
    Can you provide me some good ppt material to prepare for this?

  • Sion Nghoshi

    hi Prajwal,

    i followed your steps and im seeing the app (lync) in the software center but its giving me an error that says “The software change returened error code 0x87D01106 (-2016407290).”

    in the status of the software center im getting Past due – will be retried.

    any suggestions?

    Thanks

    • Hi, are you sure you are using the proper command line to setup Lync ? Check once again.

      • Sion Nghoshi

        Thanks Prajwal,

        i think somewhere i made a mistake. i deleted the application and added it again and now its all good.
        Thanks.

  • Azil Salleh

    Hi Prajwal,

    I’ve a plan to upgrade Lync 2010 to 2012 using SCCM 2012 R2.
    Can I apply this method or is there a different way to do it?
    Please advice.

    Thanks

    • Hi Azil, it would be better if you uninstall the existing Lync 2010 using a script and then deploy Lync 2013 using SCCM 2012 R2. I haven’t tried the upgrade of Lync 2010 -> 2013, so you can give a try once.

  • In your company are you using SCCM to deploy updates to computers ?. If yes you can deploy the Lync update along with the other updates. If not you can create a package that includes the update and deploy it to collection. Let me know if you need more help on this.

  • safi

    hi Dear,
    i found the error multi time The software change returned error code 0x87D01106(-2016407290). where i mistaking please help