Installing Lync Client 2010 via Group Policy

6 Dec

Ok, just quickly, this is how I rolled out Lync Client 2010 with Group Policy.

I’m not running SMS or SCCM, and extracting the MSI from the EXE didn’t seem to work too well, and also required to much work addressing all the additional actions. So instead, I just scripted the exe install as a startup script.

The guide from Microsoft can be found here.

These are the command line arguments:

  • /Silent – Suppresses the installation user interface, and uses default values for other installation options (for example, installation directory). This argument can be used along with the /Install, /Uninstall, and /Repair arguments.
  • /Install – (Default) Installs the client.
  • /Uninstall – Removes previous versions of Office Communicator and add-ins.
  • /Repair – Reinstalls the client to repair any installation issues.
  • /InstallDir – Specifies the installation directory.
  • /help – Displays the Help text in a dialog box.
  • /reg [FileName] – Registers the settings in the specified file during installation. This registry file is then used during run time.
  • /uninstalladdin – Removes the Conferencing Add-in for Microsoft Office Outlook, which is the previous version of the add-in (used for scheduling Microsoft Office Live Meeting server- and service-based meetings).
  • /fulluisuppression – Enables Lync 2010 to run in user interface suppression mode.

I created 2 scripts (for 32 & 64 bit machines) and they simply ran the following:

IF NOT EXIST “C:\Program Files\Microsoft Lync\communicator.exe” (
    pushd \\dynfsv01\Installs\Lync2010\i386
    LyncSetup.exe /install /silent
    popd

IF NOT EXIST “C:\Program Files (x86)\Microsoft Lync\communicator.exe” (
    pushd \\dynfsv01\Installs\Lync2010\amd64
    LyncSetup.exe /install /silent
    popd
)

I then created 2 GPO’s, and then filtered each GPO using a WMI filter, for 32 & 64 bit machines.

Then added the batch files in the startup scripts within the Group Policy Management Console:

And that’s it, it’s now rolling to out to all my desktops.