Silent Installation Package

To install Lync / Skype for Business client, you can use the stand-alone installation DVD (if you have one), or the Office 2013/2016 installation DVD. From either of these, run Setup.exe /admin from both the \x64 and \x86 subfolders, to bring up the Microsoft Office Customization Tool for each of the installation options.

lyncinstallmoct1
Within the MOCT, I set the Licensing and user interface section to use the KMS client key, set the license agreement display level to None, and check the Suppress modal box.

 

lyncinstallmoct2
Also within the Features > Modify user settings window, I configure these to avoid first time login prompts for the users.
Configure and save your settings as a new .MSP file in the DVD folder structure. I create a new empty folder next to Updates called UpdatesManual and I place the file in there. Also go and modify the config.xml files in both the \x64\lync.ww\ and \x86\lync.ww\ folders.

Then I call the Setup.exe using the .MSP file and modified Config.xml files using a batch file similar to below…

Config.xml:
<Configuration Product=”Lync”>
<COMPANYNAME Value=”Company Name Here” />
<OptionState Id=”LOBiMain” State=”Absent” Children=”Force” />
<Display Level=”None” CompletionNotice=”No” AcceptEula=”Yes” />
<Logging Type=”verbose” Path=”C:\” Template=”LyncSetupVerbose(*).log” />
<Setting Id=”SETUP_REBOOT” Value=”Never” />
<DistributionPoint Location=”\\server\share\LyncDVD\x64″ />
</Configuration>

SilentInstall.bat:
@ECHO OFF
IF EXIST “C:\Program Files\Microsoft Office\Office14\WINWORD.EXE” GOTO PRE64
IF EXIST “C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE” GOTO PRE32

@ECHO NO OFFICE FOUND, PROCEEDING TO 64-BIT LYNC INSTALL
GOTO INSTALL64

:PRE32
@ECHO 32-BIT OFFICE FOUND, PROCEEDING TO 32-BIT LYNC INSTALL
GOTO INSTALL32

:PRE64
@ECHO 64-BIT OFFICE FOUND, PROCEEDING TO 64-BIT LYNC INSTALL
GOTO INSTALL64

:INSTALL32
START /WAIT \\server\share\LyncDVD\x86\setup.exe /config \\server\share\LyncDVD\x86\lync.ww\config.xml
msiexec.exe /qn /p \\server\share\LyncDVD\x86\updatesManual\Lync2013wSP186.msp
GOTO FINISH

:INSTALL64
START /WAIT \\server\share\LyncDVD\x64\setup.exe /config \\server\share\LyncDVD\x64\lync.ww\config.xml
msiexec.exe /qn /p \\server\share\LyncDVD\x64\updatesManual\Lync2013wSP164.msp
GOTO FINISH

:FINISH
cd C:\Program Files\Microsoft Office\Office15
cscript ospp.vbs /inpkey:ABCDE-FGHIJ-KLMNO-PQRST-UVWXY
cscript ospp.vbs /act
exit

 

For more information about how to do this, the Microsoft URL is: https://technet.microsoft.com/en-us/library/cc179121.aspx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s